I *hate* shell scripting. My rule is if it is more than three lines, do yourself a favor and use a real programming language. This is equally true on unix and windows. Well, actually, the limit with batch might be one line rather than three. But still, shells are for interactive entry. Doing any scripting on them is a filthy, time wasting, bug-prone hack. (Especially on unix where you get idiocy like "command line too long" even trying to do simple tasks like deleting a bunch of files! Or the output to a pipe gets truncated due to terminal width - I kid you not, FreeBSD did that to me some years ago when I had to use it on a server. Drove me nuts.)

Reply via email to