From 56e8fa26a4ce594f2c5c71b600df11fc9f255956 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Tue, 1 Jul 2008 00:45:36 -0400 Subject: A bunch of work on man pages to shore up interface and behavior before developer release. Still do a bit of work to make sure actual commands meet the outlined behaviors. Small tweak to remove_line function to make sure it doesn't accidentally have a regexp match. --- src/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common b/src/common index 01e52b8..d20d306 100644 --- a/src/common +++ b/src/common @@ -85,7 +85,7 @@ remove_line() { # if the line is there are removed, return 0 if [ "$file" -a "$string" ] ; then - grep -v "$string" "$file" | sponge "$file" + grep -v -F "$string" "$file" | sponge "$file" return 0 # otherwise return 1 else -- cgit v1.2.3