From: Joe Z. <jz...@us...> - 2004-11-03 00:57:35
|
Update of /cvsroot/bobs/bobs/bash In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17324/bash Modified Files: cmdloop Log Message: Show date and time on all records in bobs.log Index: cmdloop =================================================================== RCS file: /cvsroot/bobs/bobs/bash/cmdloop,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- cmdloop 28 Mar 2004 22:33:22 -0000 1.6 +++ cmdloop 3 Nov 2004 00:57:24 -0000 1.7 @@ -18,14 +18,14 @@ do if [ -e $file ] then - echo "$(date +'%Y-%m-%d %H:%M:%S'): Starting $file" + echo "Starting $file" # ${file##*.} resolves to the extension of the file name # File name 'cmd.1048828727.bash' resolves to just 'bash' # See 'parameter expansion' in 'info bash' ${file##*.} $file $DELCMD $file - echo "$(date +'%Y-%m-%d %H:%M:%S'): Finished $file" + echo "Finished $file" else continue fi |