On 06/03/07, Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:
justin randell wrote:
> > In fact, aliases are for people used
> > to the csh way of doing things .. I'd *never* use them
>
> never used csh before - i'm just a programmer masquerading (badly) as
> a sysadmin...
If thats the case you'd probably be better off using Python
or Perl. As a programming language, shell has some major
weirdnesses.
It's also more portable and has fewer dependencies.
For simple tasks such as a simple for loop like this, the overhead of
loading the interpreter is.. well, questionable.
That said, there are definitely better alternatives that could be
considered: I'd be looking at dsh
(http://www.netfort.gr.jp/~dancer/software/dsh.html.en) for a start.
--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html