[leglug-users] Some help... with bash scripting
Maxim
badran at gmail.com
Thu May 25 16:11:05 EDT 2006
Chady:
I see... well will keep that in mind... thanks :D
e:
I would expect an 04 not 4... well I am trying to learn how to use bash
efficiently 1st.. and then going to move to perl.. as perl is a better tool
for this job since it need text handling...
I want to try to solve these issues using bash....
On 5/25/06, edmond at greencedars.com <edmond at greencedars.com> wrote:
>
>
> > 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.
>
>
> _______________________________________________
> leglug-users mailing list
> leglug-users at lists.leglug.org
> http://lists.leglug.org/mailman/listinfo/leglug-users
>
--
Maxim
msn: m at xim.uni.cc
skype: maxim_badran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.leglug.org/pipermail/leglug-users/attachments/20060525/fa384422/attachment.htm
More information about the leglug-users
mailing list