Permalink
Browse files

fix bug of match part of src string.

  • Loading branch information...
1 parent 1a2a0dc commit b5c6345b781fbe5e54f85e02b39d7aaed631ab3b @soarpenguin committed Feb 19, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 bashrc/deleteMatchLine.sh
@@ -32,7 +32,7 @@ do
continue
fi
- sed -e "/${line}/d" ${sourcefile} >${sourcefile}.tmp
+ sed -e "/\<${line}\>/d" ${sourcefile} >${sourcefile}.tmp
mv ${sourcefile}.tmp ${sourcefile}
done

0 comments on commit b5c6345

Please sign in to comment.