[oclug] .bash_profile scripting
Ian! D. Allen
idallen at idallen.ca
Thu Nov 18 15:52:39 EST 2004
Adrian Irving-Beer wrote:
> but it's important not to get into that habit if you want to write
> generic POSIX-compatible shell scripts (e.g. ones that can always
> safely use #!/bin/sh instead of #!/bin/bash).
Yes indeed! If you decide to go non-POSIX, make it a conscious decision
and realize what you lose when you can't run your scripts anywhere
but Linux. Losing portability for the sake of == vs. = isn't worth it.
And start all your scripts with
so that you find your spelling errors sooner rather than later.
-IAN! Ian! D. Allen Ottawa, Ontario, Canada
EMail: idallen at idallen.ca WWW: http://www.idallen.com/
College professor (Linux) via: http://teaching.idallen.com/
Support free and open public digital rights: http://eff.org/
More information about the OCLUG