Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Bashing away at Unix



On 14/03/2008, SL Baur <steve@example.com> wrote:

> Yes.  When zsh is invoked as sh, it turns off *all* zsh extensions and
>  behaves as a conformant POSIX shell.

I don't believe in using bash-isms in my shell scripts, which is why I write:

#!/bin/sh

and not

#!/bin/bash

I came around to this way of thinking after having to admin SunOS 2.5,
Solaris 7, 8, and 9, RHEL3, Fedora Core Whatever, Gentoo, and even
ancient SCO UNIXware boxen all at the same time. Write once, run
anywhere was useful. :)

-- 
Cheers,
Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links