LWN.net Logo

Shell Scripts

Shell Scripts

Posted May 5, 2010 22:09 UTC (Wed) by HelloWorld (subscriber, #56129)
In reply to: Shell Scripts by k8to
Parent article: Poettering: Rethinking PID 1

Right, code is read more often than it is written, and it is executed orders of magnitude more often than it read. Thus, since sane semantics affect execution, they're *much* more important than syntax.

Also, shell scripts are less readable than scheme once you get used to prefix notation. Stuff like ${foo##@(a|b*)} isn't readable by any standards.


(Log in to post comments)

Shell Scripts

Posted May 6, 2010 3:15 UTC (Thu) by k8to (subscriber, #15413) [Link]

Not by a mile.

I read and write, pretty fluently: shell, scheme, rebol, python, C, lua.

For its specialized domain, shell reads better than the rest. Scheme is definitely the worst.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds