On Wed, 26 Jan 2011 03:36:24 -0500, Jacob Carlborg <[email protected]> wrote:
On 2011-01-25 23:59, Jesse Phillips wrote:
Jacob Carlborg Wrote:
Yeah, I guess you're right, didn't think there were a lot people who
used other shells. Since I almost know nothing about shell scripting
and
even less about non-bourne shells, will it be possible to port to other
shells? How much do they differ?
--
/Jacob Carlborg
To add to Lutger's message. I believe it is sh that is required by all
Posix systems, or at least an equivalent. Similarly I think vi is also
a requirement.
In all likelyhood you probably used a Bash specific feature, but
usually everyone has bash even if they use zsh... Though Ubuntu/Debian
has started pointing /bin/sh to dash which is complaint with posix...
Ok. I'll see I can use only sh.
FWIW, /bin/sh is usually a symlink to bash, and it makes bash behave like
the original Bourne Shell.
I typically find /bin/sh features to be enough for implementing most
scripts.
A good reference (if you don't have it) is Unix in a nutshell, probably my
most used textbook.
-Steve