I finally have an account on an Ultrix system
and have tracked down a couple problems.
The first was that `missing --run :' would fail like this:
(the other is in autoconf)
$ sh missing --run :
sh: º: not found
WARNING: `:' is needed, and you do not seem to have it handy on your
This patch seems to preserve the semantics and avoids the problem:
* missing (--run): Use `eval' to run `"$@"'. Otherwise, Ultrix4.4's
/bin/sh fails and outputs garbage.
If anyone sees a problem with this, let me know.
Index: missing
===================================================================
RCS file: /fetish/fileutils/missing,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- missing 2001/03/16 08:37:01 1.6
+++ missing 2001/03/17 22:12:34 1.7
@@ -30,7 +30,7 @@
# Try to run requested program, and just exit if it succeeds.
run=
shift
- "$@" && exit 0
+ eval "$@" && exit 0
;;
esac