[Pm-utils] lockfile creation not really atomic in pm-utils

Dan Nicholson dbn.lists at gmail.com
Fri Jan 11 11:54:11 PST 2008


On Jan 11, 2008 10:21 AM, Michael Biebl <mbiebl at gmail.com> wrote:
> 2008/1/11, Till Maas <opensource at till.name>:
>
> > Do you have a good resource on how to convert bash features into POSIX
> > compatible commands? I guess bash is used, because it makes lot of stuff
> > easier. :-)
>
> I know that in Debian we have tools like  checkbashisms, which catches
> common bash only features.

It's also helpful to just have multiple shells on hand in addition to
bash. Dash and posh both attempt to be strictly POSIX compliant. You
can just install them in ~/bin if your distro doesn't package them.
Then it's easy to test things out instead of slogging through the
documentation.

http://gondor.apana.org.au/~herbert/dash/
http://ftp.debian.org/pool/main/p/posh/

--
Dan


More information about the Pm-utils mailing list