* Handle no options -- re-invoke with `-s'.

This commit is contained in:
Ben Elliston 2001-01-07 05:58:45 +00:00
parent ac19e7f7fe
commit e7a9e874df

1
uname
View File

@ -1,6 +1,7 @@
#!/bin/sh
# uname(1) simulator, inspired by Pavel Roskin.
[ $# -ne 1 ] && exec sh $0 -s
[ $1 = -m ] && echo ia64 && exit 0
[ $1 = -r ] && echo B.11.20 && exit 0
[ $1 = -s ] && echo HP-UX && exit 0