[Charlug] Script Question
Michael McCandless
michael at prismbiz.com
Mon Mar 2 19:28:30 EST 2009
I think I will! I didn't know about that option.
>
> michael at prismbiz.com said:
>> I have a script that grep's a file, looking for a date string,
>> specifically:
>
>> FILEDATE=`date +"%b %-d"`
>
>> This command works wonderfully up to the 10th of the month, when I
>> have to use:
>
>> FILEDATE=`date +"%b %-d"` (only 1 space between %b and %-d)
>
> Why not use this?
>
> FILEDATE=`date +"%b %_d"`
> --
> Mike Wescott
> Wescott_Mike at EMC.COM
>
---------------------------
Michael McCandless
michael at prismbiz.com
More information about the CharLUG
mailing list