allow arbitrary number of arguments (instead of exactly 1).

This commit is contained in:
hjp 2012-04-02 09:34:22 +00:00
parent ba64495861
commit 2aa370cff1
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
case `uname` in
Linux)
ps auxwwf | grep "$1"
ps auxwwf | grep "$@"
;;
HP-UX)
UNIX95=1 ps -efH | grep "$1"
UNIX95=1 ps -efH | grep "$@"
;;
esac