4 # Shell script that removes a message from all message files (Lem9)
5 # it checks for the message, followed by a space
7 # Example: remove_message.sh 'strMessageToRemove'
11 echo "lines before:" `wc -l $file`
12 grep -v "$1 " ${file} > ${file}.new
15 echo " lines after:" `wc -l $file`