bug-coreutils
[Top][All Lists]
Advanced

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

Re: Feature request for head command


From: Paul Eggert
Subject: Re: Feature request for head command
Date: Tue, 20 Jun 2006 23:50:31 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Robert McKay" <address@hidden> writes:

> ( echo  hello;  echo world; ) | (  head -1 > /dev/null; cat)

How about using 'tail' instead of 'head'+'cat'?  That's simpler,
faster, standard, and avoids the problems you mentioned.

( echo  hello;  echo world; ) | tail -n +2




reply via email to

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