Bob Proulx <[EMAIL PROTECTED]> wrote on 19/09/2002 (18:07) : > quote format just to be explicit. And it makes cut-n-paste easier. > > which mozilla > > But instead of that old csh script 'which' I prefer newer commands > such as 'command' or 'type'. (Yes I see that on debian which is now a > bash script instead of a csh script. But this is not true everywhere.) > > type mozilla > > command -v mozilla
Isn't it kind of stupid to suggest a bash only solution? Especially if you want to use this in a script like: #!/bin/sh BROWSER=`which mozilla` Although it also puzzels me why people use mozilla when galeon has a much better interface. -- Preben Randhol ---------------- http://www.pvv.org/~randhol/ -- "Violence is the last refuge of the incompetent", Isaac Asimov -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]