[leglug-users] Some help... with bash scripting
edmond at greencedars.com
edmond at greencedars.com
Thu May 25 12:17:24 EDT 2006
> On 5/25/06, Maxim <badran at gmail.com> wrote:
>>
>> in the Url the dir is stated as "DD-MM-YY" but on my PC i save them as YY
>> MM DD for better listing... this is why I have multiple dir variables...
>> as for the variable checking thanks for the update.
>>
you say "DD MM YY". So what if it's the 4th of the month? Do you expect an "04"
or a "4"? and what will you do if the user enters "4" instead of "04", if "04"
is expected? for this (and other) reasons, Perl or something similar is a
better tool for tasks of this nature.
regards,
e.
More information about the leglug-users
mailing list