Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: [News] A Look at Debian Squeeze

After takin' a swig o' grog, Attila belched out
  this bit o' wisdom:

> Homer wrote:
>
>>>>>    The Debian Almquist Shell (dash) will become the standard
>>>>>    shell that should, among other things, help with faster
>>>>>    bootups.
>>>> 
>>> Yeah.  It is all too easy to fall into bashisms for system scripts!
>> 
>> Here's a non-exhaustive list of other gotchas:
>> 
>> https://wiki.ubuntu.com/DashAsBinSh
>> 
> Am I missing something? Wouldn't putting this #!/bin/bash as the first line
> in a script and setting the x bit with chmod guarantee that the script runs
> as bash and not dash? (not using sh) Then we could use all the bashisms we
> know and love. ;) couldn't we?

Except in the existing startup scripts.

It's a good excuse for me to clean up some scripts, anyway.

-- 
Tonight you will pay the wages of sin; Don't forget to leave a tip.

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index