summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@phys.columbia.edu>2008-07-01 00:45:36 -0400
committerJameson Graef Rollins <jrollins@phys.columbia.edu>2008-07-01 00:45:36 -0400
commit56e8fa26a4ce594f2c5c71b600df11fc9f255956 (patch)
tree664e1ace928f3594548e55a408ceb3e0cd1d6472 /src/common
parent5470209cd829eda1e75719e93fe6c69cf2c1a61d (diff)
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.
Diffstat (limited to 'src/common')
-rw-r--r--src/common2
1 files changed, 1 insertions, 1 deletions
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