Michael C. Toren on 24 Aug 2007 17:12:16 -0000


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

Re: [PLUG] Bash presos?


On Thu, Aug 23, 2007 at 11:14:05PM -0400, JP Vossen wrote:
> Tips and Tricks: avoiding common goofs in bash scripts
> 	19 slides, reasonably stand-alone

+1

> bash: some odd but useful features
> 	22 slides, not stand-alone

+2 :-)

> Note the bash v. dash thing is useful because as of Ubuntu 6.10 /bin/sh
> --> dash, *not* bash as most (but not all) other Linux distros
> (https://wiki.ubuntu.com/DashAsBinSh).  The default shell for
> interactive use is still bash, but if you work on init scripts, for
> example, there are differences that will cause you problems.
> Unfortunately, bash != dash != ash != Bourne != Busybox.

It looks like the next Debian release is going to be migrating /bin/sh
to dash, as well: http://release.debian.org/lenny-goals.txt

-mct
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug