On Mon, May 13, 2002 at 09:27:43AM +1000, Cameron Simpson wrote: > Also, wouldn't an if be more succint: > > if [ -n "$a" ] > then netscape '-remote "openURL($1)"' > else netscape "$1" > fi
Even more succinct would be: netscape '-remote "openURL($1)"' || netscape "$1" No need for the ps, etc. I've used this on HP-UX 10.20 but haven't tested it on Linux. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |