Bash Quirkiness
Robert P. J. Day
rpjday at mindspring.com
Mon Jul 26 15:35:47 UTC 2004
On Mon, 26 Jul 2004, Frank Tanner III wrote:
> http://www.tldp.org/LDP/abs/html/index.html
>
> That's the best BASH site I know if.
two comments:
first, if you just want a zillion examples of scripts (shell, perl,
etc.), check out cameron simpson's repo at
http://www.cskk.ezoshosting.com/cs/css. chances are, if you're trying
to write a script, he's got something that's already close to it.
and second, you might consider avoiding bash-specific extensions and
stick as closely as possible to POSIX-compliant shell features, to
make sure your scripts are as universally portable as possible.
rday
p.s. from memory, you can get POSIX behaviour from bash with either
of:
1) using "bash --posix"
2) just calling it by the name "sh"
but i'd check the docs to be sure.
More information about the fedora-list
mailing list