Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [[ -x =command ]]
- X-seq: zsh-users 12037
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: [[ -x =command ]]
- Date: Wed, 17 Oct 2007 17:55:16 +0200
- In-reply-to: <20071017154638.GE13054@mastermind>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071016210548.26560.qmail@xxxxxxxxxxx> <20071016211319.GA2910@xxxxxxxxxxxxxxx> <20071016214100.62242.qmail@xxxxxxxxxxx> <20071017094414.GA5383@xxxxxxxxxxxxxxx> <20071017113432.GA13054@mastermind> <20071017125242.GB5383@xxxxxxxxxxxxxxx> <2d460de70710170617g2730fe81u197bd0bc2073cab8@xxxxxxxxxxxxxx> <20071017145021.GC13054@mastermind> <20071017152921.GA2641@xxxxxxxxxxxxxxx> <20071017154638.GE13054@mastermind>
Matthew Wozniski <godlygeek@xxxxxxxxx>:
> On Wed, Oct 17, 2007 at 05:29:21PM +0200, Frank Terbeck wrote:
> > This will break for old things like opensolaris' /bin/sh.
> > If you leave the 'command' bit out, it'll work:
> SUSv2 has required the command builtin since at least 1997... I still
> say mine's the most portable... B-)
Well, who said opensolaris' /bin/sh has got anything to do with SUSv2?
But if you consider, that it still reads /etc/profile, the 'command'
approach simply is not the most portable.
If you reduce the targets to POSIX compliant shells that's different,
of course.
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author