On 2005-12-02 14:07:45 +0100, Thomas Hood wrote:
> Sorry, I was wrong. It _is_ standards-conformant. What I should have
> said was: it is ambiguous; different standards prescribe different
> behavior. I base this on the upstream text that I quoted.

OK.

> For the record, can you please clarify this issue? Was the statement
> in NEWS that I quoted earlier incorrect? What is a correct variant
> of that statement?

It is incorrect anyway. "tail -c4" doesn't work on Solaris, so that
it is not OK for portable scripts:

craffe:~> echo abcdef | /bin/tail -c4
usage: tail [+/-[n][lbc][f]] [file]
       tail [+/-[n][l][r|f]] [file]
zsh: done       echo abcdef | 
zsh: exit 2     /bin/tail -c4

Here one needs to do:

craffe:~> echo abcdef | /bin/tail -4c
def

Solaris sucks.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


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

Reply via email to