Richard Zidlicky wrote:

>On Sun, Apr 28, 2002 at 08:54:41PM +0100, Michael Grunditz wrote:
>
>>>a bit shorter,
>>>
>>>test -n "$1" && shift 1
>>>
>>>what sort of shell do you use anyway? I think there
>>>will be some more problems.
>>>
>>Bourne shell ,of course  I think its a bad thing to write scripts using
>>/bin/sh and asume sh is bash.
>>
>
>Of course, such scripts usually also break when used with a different 
>bash version. Also, when asking for bash one should really say '#!/bin/bash'
>I was wondering which 'sh' implementation though.. we have a couple of 
>them even on Linux.
>
There is none on linux .. :)

As a matter of fact, in most installations /bin/sh is bash.

/Michael



Reply via email to