Checks for parameter count.

This commit is contained in:
Michal Čihař
2003-11-13 15:53:48 +00:00
parent 1d6918ea9d
commit aeedaa6892

View File

@@ -6,6 +6,12 @@
#
# Example: remove_message.sh 'strMessageToRemove'
#
if [ $# -ne 1 ] ; then
echo "usage: remove_message.sh 'strMessageToRemove'"
exit 1
fi
for file in *.inc.php3
do
echo "lines before:" `wc -l $file`