So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 04:46:21PM +0200:
> There is no 'editor'. There is $EDITOR or 'edit'

Hmm, there's of course $EDITOR in Mandrake, but it also doesn't have
/usr/bin/edit.

> I would simply default to 'more' but it would be OK to use 'less' in case it
> is present and executable in your PATH. But this test must be done in a portable
> way.

What's the portable way to check if it's executable in the path when 'which'
cannot be used?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
                Uptime: 23 hours 21 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to