Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mesaprotector authored Dec 2, 2024
1 parent 2ad87b5 commit 7f67666
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions findcomment
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
source /usr/local/etc/sudo-comment.conf
if [ $# -eq 0 ]; then
less "$commentlog"
elif [ $# -eq 1 ]; then
cat "$commentlog" | grep -A5 "$1" | less
else
echo "Too many arguments."
fi

0 comments on commit 7f67666

Please # to comment.