
03-29-2007
|
|
Shell programmer, author
|
|
Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,560
|
|
Quote:
|
Originally Posted by jim mcnamara
It will probably work if /bin/ksh is a link to zsh. This is common on a lot of our Linux boxes here.
|
On most Linux distros I've used, /bin/ksh is pdksh, which differs from the standard AT&T ksh in some important respects.
Quote:
|
What CFA J & I are telling you is that the best practice is to use the magic at the top of your script.
|
Actually, I am not saying that. A shebang is usually unnecessary, and reduces the portablility of a script.
|