script in ~/bin

Sebastian Spiess sebastian.spiess at gmail.com
Wed Feb 20 11:21:46 GMT 2008


Karl Goetz wrote:
> On Wed, 2008-02-20 at 20:49 +1100, Sebastian Spiess wrote:
>> is is correct that I have to replace
>>
>> 	#!/bin/sh
>>
>> with
>>
>> 	#!/bin/dash
>>
>> in scripts so that they work?
> 
> no. not if the script is posix complient.
> but if they use bashisms you'll need to replace it with: 
> 
> #!/bin/bash
> 
> kk
> 
>> I am running feisty.
>>

the script I was talking about is only mounting a partition and a crypt container off one of my external drives.
So it is no big conplex script.

Maybe I missed something else, because when I try to run the script

x at y:~$ froff
bash: froff: command not found


is the answer.
I have a couple of other scripts with similar symptoms.



More information about the ubuntu-au mailing list