Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: POSIX conformance in Solaris
- X-seq: zsh-workers 20699
- From: Danek Duvall <duvall@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: POSIX conformance in Solaris
- Date: Wed, 12 Jan 2005 08:12:52 -0800
- In-reply-to: <20050112091800.GA4486@sc>
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <m3r7kr31g9.fsf@xxxxxxxxxxxx> <20050112091800.GA4486@sc>
On Wed, Jan 12, 2005 at 09:18:00AM +0000, Stephane Chazelas wrote:
> tail -n 1, even if POSIX, is not portable. I think I've come
> across a system where it was not supported recently (maybe
> Solaris).
Very possible. When POSIX introduces an interface that would break
compatibility with already released Solaris commands, the functionality
gets stuck in /usr/xpg?. So in this case /usr/bin/tail doesn't require (or
even support) -n, while /usr/xpg4/bin/tail supports (but doesn't require)
it.
Danek
Messages sorted by:
Reverse Date,
Date,
Thread,
Author