printf "while 1\n\ttest `ls -l | wc -l | awk '{ print $1 }'` -gt 1 && printf '\\007'\nsleep 5\nend\n" | csh -f