Whats wrong with this C shell script?
问题 I am trying to write a C shell equivalent script for the bash script mentioned here. This is what I have : #! /bin/tcsh set now=`date +%Y%m%d%H%M.%S` if (( ! -f "./cache" ) || (-n "`find ./monme -newer ./cache`" )) then touch cache -t "$now" echo "new files added" | mail -s "new build" myemail@myserver.com endif and this is the error I get $ ./scr if: Badly formed number. $ This page mentions that "Numbers in the C-shell must be integers", so I tried set now=`date +%Y%m%d%H%M` but I get the