summaryrefslogtreecommitdiff
path: root/hack_of_all_hacks
diff options
context:
space:
mode:
Diffstat (limited to 'hack_of_all_hacks')
-rw-r--r--hack_of_all_hacks4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack_of_all_hacks b/hack_of_all_hacks
index 2f940dc..705beb6 100644
--- a/hack_of_all_hacks
+++ b/hack_of_all_hacks
@@ -284,7 +284,7 @@ EOF
send_msg "${channel_it_came_from}" "${personoslash}: I know."
;;
1 )
- grep -v "${isnt}" "info/${thing}" | sponge "info/${thing}"
+ grep -v "^${isnt}" "info/${thing}" | sponge "info/${thing}"
send_msg "${channel_it_came_from}" "${personoslash}: OK, entry removed."
;;
* )
@@ -304,7 +304,7 @@ EOF
send_msg "${channel_it_came_from}" "${personoslash}: I know."
;;
1 )
- grep -v "${isnt}" "info/${thing}" | sponge "info/${thing}"
+ grep -v "^${isnt}" "info/${thing}" | sponge "info/${thing}"
send_msg "${channel_it_came_from}" "${personoslash}: OK, entry removed."
;;
* )