[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Broken sh ?



Last night, after a complete rebuild of my sparc IPX Openbsd 2.2  -current,
a couple of cron jobs failed, apparently because sh from a script does not
operate correctly any more.

Here is a minimal example

script "world" :

wilker_(_at_)_hipx>cat world
#!/bin/sh
echo 'Hello, world!'


Now run it:
wilker_(_at_)_hipx>sh world
Hello, world!

but

wilker_(_at_)_hipx>./world
/bin/shd./worldHMANPATH=/usr/man:/usr/share/man:/usr/local/man:/usr/local/man:/usr/X11R6/man : PATH=.:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6.3/bin: No such file or directory

Notice the extra letters and the pieces of the environment.
i
On my Solaris machine:
wilker_(_at_)_purdue116>./world
Hello, world!

My openbsd machine worked on this til the rebuild on the 7th.


Help, Clarence Wilkerson


Visit your host, monkey.org