[nycbug-talk] Shell Newbie

George Georgalis george at galis.org
Thu Apr 13 00:54:35 EDT 2006

On Wed, Apr 12, 2006 at 12:02:57PM -0400, Isaac Levy wrote:
>Hi Huy,
>On Apr 12, 2006, at 10:56 AM, N.J. Thomas wrote:
>> /bin/sh can sometimes be a pain, but the gains in being able to run  
>> your
>> script on practically any Unix machine anywhere are well worth it.
>I'm going to loudly echo that using straight /bin/sh is key to near  
>absolute portability.

yeah, /bin/sh is best for scripts (ash is closest in Linux, if you
need to check compat there); zsh rocks if you like the bash bells
and whistles. for me it's ksh on netbsd; but since I cannot get
the FreeBSD ksh to work for beans; I use zsh or tcsh there, even
though *csh is poison!

>That stated however, I'm a developer who works with Python by choice,  
>so my philosophy on shell scripting is that if the script gets too  
>complicated, it's a 'program', and best to use a real programming- 
>oriented language, (Python, Perl, or to stick to UNIX culture- C, C++).

Yo IkE, I was needing to ask you about python advocacy... any comments
on using it vs php for web apps?

// George

George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george at galis.org

More information about the talk mailing list