On Mon, Nov 04, 2002 at 11:40:56PM +1100, [EMAIL PROTECTED] wrote:
> <Luke ducks away from a language war>  :-)

Sure :-)  Try and have it both ways why don't you

> >  If there was a a2py I'd recommend that. 
> 
> I can't honestly see a reason to convert an awk script to another
> language, even ici.  IMHO awk is a clean and elegant language, and the

Gasp!  Awk 'clean and elegant' and yet you shudder at perl!
Silly line length limits.  Inconsistency in variable evaluation. Bah.


> maintainability of the program would not increase by translating it!
> 
> I think what we're really suffering from is the shell's quoting
> awkwardness.  Maybe a better solution would be to put the awk script
> into a #!/bin/awk script file and install it somewhere for use.

Yes, I do suffer from the quoting awkwardness.
But there ain't no way round it.

I'd love to have hashbanged my awk-ward programs, yet they
all out grow their {m,g,n}awkish roots for lack of some
sort of feature, typically a regrettable lack of getopts
style arg parsing, forcing me to go to perl or C to so
that the program can be actually nice to use.

Matt

PS. maybe take it to slug-chat if you're on that list 
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to