larry a price wrote:

> Am I unique in thinking that shells are very good for some things
> but are not that great as programming languages...

Not at all.  I defy you to find a million-line software project
written in a shell.

> I know that for me if a shell script grows longer than a couple of lines
> or gets to involve anything much more complex than a grep I start looking
> at it in terms of "how could I do this in Python".

My personal bin directory contains:

        54 Bourne shell scripts.  Average length: 12 lines.
        24 Perl scripts.  Average length: 60 lines.
        2 C/C++ programs that I wrote.  Lengths: 24 and 109 lines.

> True, if I were looking at widely distributing a piece of software and it
> needed a startup script I would go through the hurt of /bin/sh and 
> figuring out the old-school way of doing things.

Yup.

> but in my day to day life the shell is an interface, not a programming
> language... and while it's necessary for it to be a programming language
> it's optimized to be an interface.

Yup.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]

Reply via email to