[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mktexpk: non-POSIX compliant use of "tail"

From: Thomas Esser
Subject: Re: mktexpk: non-POSIX compliant use of "tail"
Date: Tue, 29 Mar 2005 21:42:18 +0200
User-agent: Mutt/1.5.6i

On Tue, Mar 29, 2005 at 09:28:57PM +0300, Ville Skyttä wrote:
> mktexpk from tetex 3.0 uses "tail -1", which is not POSIX compliant, and
> does not work with GNU coreutils 5.3.0.  Maybe you'll want to change
> that to "tail -n 1"...

Well, there are more systems than POSIX compliant ones around. I wonder
if dropping this kind of compatibility with old UNIX systems is done
for a good reason.

Do we really need to write
  awk '{ l = $0 }; END {print l}'
instead of "tail -1" now (to be portable to all todays UNIX systems)?

Is this the progress that POSIX brings to us?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]