Re: bash vs. python scripts - which one is better?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/18/07 18:28, Steve Lamb wrote:
> Ron Johnson wrote:
>> I've written enough cryptic Python and lucid C & bash to know that
>> Python does *not* enforce clean coding.
>
> I don't think anyone has ever claimed that.
Doug Tutty did this afternoon. (You conveniently snipped that part
out of your reply.)
http://lists.debian.org/debian-user/2007/08/msg01743.html
whereas python enforces clean coding.
>> What a waste. bash is *great* for looping thru lists. (Perfect?
>> No. But still great.)
>
> So is Python with the added benefit of not having to defeat globbing
> at every step of the way.
Sure, not having to worry about globbing rules can be handy. But
there's still a large set of problems that can quickly be solved by
a one-line bash for/done loop.
- --
Ron Johnson, Jr.
Jefferson LA USA
Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGx50cS9HxQb37XmcRAqpsAKCnNE49IWQZYEchgLvWmgH8pN5YnwCdF46l
roC7LT7bwk7Gs/1HZjffKvc=
=KP+R
-----END PGP SIGNATURE-----
Reply to: