From 2aa370cff18bc30124090830b294353be978e89f Mon Sep 17 00:00:00 2001 From: hjp Date: Mon, 2 Apr 2012 09:34:22 +0000 Subject: [PATCH] allow arbitrary number of arguments (instead of exactly 1). --- tiny/psg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiny/psg b/tiny/psg index a1cb1e4..7b2ede8 100755 --- a/tiny/psg +++ b/tiny/psg @@ -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