[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: New admin problems.
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2002-05-31 11:45:07
[Download RAW message or body]

On Thu, May 30, 2002 at 10:28:34AM +0200, Adriaan de Groot wrote:
> so instead of using bash-specific extensions, can we patch this to use
> "which" instead?
> 
but "which" is not portable as well. on some systems it's a binary, on
some it's an alias to "type -p" (and therefore not available in scripts)
and some systems don't have it at all. so basically we must first detect
what to use and set a variable $which for further use (or something
similar).

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
The problem with making software idiot-proof is that idiots are so clever.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic