script in ~/bin

Karl Goetz karl at kgoetz.id.au
Wed Feb 20 09:57:49 GMT 2008


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.
> 
> 
-- 
Karl Goetz,
Debian user / Ubuntu contributor / gNewSense contributor
http://www.kgoetz.id.au




More information about the ubuntu-au mailing list