According to my intrepid server installation
/bin/sh -> dash

Which seems to be cut down version of bash, used in debian,
http://en.wikipedia.org/wiki/Debian_Almquist_shell. TBH I cant imagine
debian using a different version of this, on the other hand ubuntu could
have patched it.







Bob Doolittle wrote:
> I hope you don't mind me putting this back on the alias, but this is
> significant.
> It proves that Ubuntu (not Debian - my mistake) uses a different
> version of "sh" than other distros (RHEL, SLES, and apparently Debian).
>
> Anybody know the details here? What is the Ubuntu default sh?
>
> -Bob
>
> Murray Fraser wrote:
>> On Fri, Mar 6, 2009 at 9:06 AM, Bob Doolittle
>> <robert.doolit...@sun.com> wrote:
>>  
>>> Murray Fraser wrote:
>>>    
>>>> # cat /tmp/Xsetup.pstree.out
>>>> sh(12680)---pstree(12697)
>>>>       
>>> That's bad. So it seems that gdm is using "sh" instead of "ksh" as
>>> the shell
>>> command interpreter.
>>> Can you try those function definitions within "sh"?
>>>     
>> $ /bin/sh
>> $ function logerr {
>> /bin/sh: function: not found
>>
>> $/bin/sh
>> $ logerr() {
>>  
>>> echo "Xsetup2 error: $1"
>>> logger -t Xsetup2 -ip user.error "error: $1"
>>> }
>>>     
>> $ logerr "Testing 10,9,8"
>> Xsetup2 error: Testing 10,9,8
>> $ exit
>>
>>  
>>> Is "sh" different in the Debian environment from other Linux distros?
>>>
>>> -Bob
>>>
>>>
>>>     
>>
>> Jens and I are running Ubuntu - and we have this problem
>> Meik is running Debian and doesn't have the problem.
>>
>> - Murray
>>   
>
> _______________________________________________
> SunRay-Users mailing list
> SunRay-Users@filibeto.org
> http://www.filibeto.org/mailman/listinfo/sunray-users

_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to