declan.moriarty at ntlworld.ie
Fri Nov 8 07:51:20 PST 2002
Was it Joern Abatz who wrote on Friday 08 November 2002 11:07:
> On 2002.11.06 20:08 Archaic wrote:
> > I needed to create a file with everyday of the year in mmddyy form.
> > Any suggestions?
> All in one line:
> N=0 ; while [ $N -lt 365 ] ; do date -d'1 jan 2002 +'$N'days' +'%m%d%y'
> ; N=$((N+1)) ; done > newfile ; unset N
How long did you spend dreaming that up ;-)?
Applied Researches - Ireland's Foremost Electronic Hardware Genius
A Slightly Serious(TM) Company
Without the optimist, the pessimist wouldn't know how happy he isn't
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message
More information about the blfs-support