On Thu, Feb 06, 2003 at 04:33:25AM -0800, Paul Mackinney wrote:
One point is that #/bin/sh is generally preferred over #!/bin/bash as a
script header. This works fine because on every Linux system I've fooled
with, /bin/sh is a symlink to /bin/bash. From the Bash man page:
If bash is
On Tue, 4 Feb 2003, Sam Halliday wrote:
i had problems using the bsetbg script under SUN, i
realised that we have
an old sh and the first line of that script points to
What version of SunOS/Solaris?
Can you upgrade to a newer version of /bin/sh?
Jeremy C. Reed
Jeremy C. Reed wrote:
i had problems using the bsetbg script under SUN,
i
realised that we have
an old sh and the first line of that script points
to
What version of SunOS/Solaris?
Can you upgrade to a newer version of /bin/sh?
does ANYONE actually ever get root access on a
On Wed, 5 Feb 2003, Sam Halliday wrote:
the answer is no way, hose-ay. I'd love to have a
decent version of bash running too...
You should be able to build and install your own version of bash under
your own home directory. But that is for another forum to discuss ...
Jeremy C. Reed
On Wed, 5 Feb 2003 19:19:09 + (GMT)
Sam Halliday [EMAIL PROTECTED] wrote:
Georg Nikodym wrote:
Lastly:
me=${0##*/}
can be rewritten portably:
me=`basename $0`
hehe :-D
works for me on Solaris 8!
To be perfectly clear, my suggested replacement works, the original code
On Wednesday 05 February 2003 08:48, Georg Nikodym wrote:
Lastly:
me=${0##*/}
can be rewritten portably:
me=`basename $0`
Yes, there's an extra fork/exec but since one tends to limit their
setting of a background to once a session, so who gives a rats ass.
Hopefully, all
hi there,
i had problems using the bsetbg script under SUN, i
realised that we have
an old sh and the first line of that script points to
#!/bin/sh
should the script not begin with
#!/bin/bash
cheers,
Sam
__
Do You Yahoo!?
Everything you'll ever
bsetbg should be a POSIX shell compliant script
and run fine under /bin/sh. If it doesn't, post
the error so we can debug it.
sorry, didnt realise you were going for POSIX there...
how silly of me and my little bashy world :D
the error is:
./bsetbg: bad substitution
no error line or
On Tuesday 04 February 2003 13:26, Sam Halliday wrote:
bsetbg should be a POSIX shell compliant script
and run fine under /bin/sh. If it doesn't, post
the error so we can debug it.
sorry, didnt realise you were going for POSIX there...
how silly of me and my little bashy world :D
yes,