image/png: inline
[phpmyadmin/crack.git] / lang / remove_message.sh
blob0618b4663fb37af52fe7783e7c24f917d8e51cc9
1 #!/bin/bash
2 # $Id$
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'
9 for file in *.inc.php3
11 echo "lines before:" `wc -l $file`
12 grep -v "$1 " ${file} > ${file}.new
13 rm $file
14 mv ${file}.new $file
15 echo " lines after:" `wc -l $file`
16 done
17 echo " "