Antwort: RE: [hobbit] New Version of Admin Scripts (v.0.1.1)

Michael Nemeth michael.nemeth at lmco.com
Fri Jan 5 16:42:31 CET 2007


>> Also you  should note that #!  must be changed to a   GNU bash, version 
>> 2.05.0(1)  + compatable sh.
>> ON unix system /bin/sh is either a basic bourne shell or a posix 
>> enhanced boure.

>sorry i can't follow you. What it is to do for unix compatibility?

/bin/sh on your box is actual bash I think.  I bet if you look  its a link
to /bin/bash !  ON most unix (not linux) systems /bin/sh is bourne shell;
if you're lucky its a posix compliant one.  Your scripts will not run correctly
on such systems. As a matter of fact 

 bash, version 2.03.0(1) will NOT work
While:
bash, version 2.05.0(1)
Will work.
So not only are they bash dependent  but bash version depended!

Ok I LOOKED  at some of the other script and found that the date 
command  is linux/gnu date not the date solaris uses.
No problem for me since I have gnu date.

All the above need only be listed  in  either README or KNOWN PROBLEMS

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth
|  ___| |_____  email(w) michael.nemeth at lmco.com Work: 856 359-1425          
|><___________)          |               Home Page:http://www.geocities.com/mjnemeth/
|               Work Page:http://scorpion/~nemethm/ 
|               Work Page:http://ortfsb/~mnemeth/ 
|++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the Xymon mailing list