Jun 15, 2006 #1 sumncguy IS-IT--Management May 22, 2006 118 US I would like to create a log file using log_file <somename>.log . . . . log_file Where somename contains the date and time. The Ksh equivalent : set `date` nam=`echo $2""$3""$4 | sed 's/\://g'` the result would be $nam.log Jun15165115.log
I would like to create a log file using log_file <somename>.log . . . . log_file Where somename contains the date and time. The Ksh equivalent : set `date` nam=`echo $2""$3""$4 | sed 's/\://g'` the result would be $nam.log Jun15165115.log
Jun 16, 2006 #2 esjo Programmer Sep 13, 2000 15 DE set nam "[ clock format [ clock seconds ] -format "%Y-%m-%d" ].log" (I suggest revers date for easier sorting) Upvote 0 Downvote
set nam "[ clock format [ clock seconds ] -format "%Y-%m-%d" ].log" (I suggest revers date for easier sorting)