echo
echo " -> replace any occurence of oldName by newName in module dirModule"
echo
+ echo " (nex name cannot contain old name)"
+ echo
echo Example :
echo
echo " cp -r HELLO_SRC CALCULATOR_SRC"
moduleName=$3
fi
+# check names for restriction
+echo $newName | grep $oldName > /dev/null
+if [ $? -eq 0 ]
+then
+ echo -e "Sorry : There is a restriction!\nNew name cannot contain old name.\n"
+ usage
+fi
+
today=`date +%d%m%y`
# Check arguments