On 22/11/10 22:21, Pádraig Brady wrote:
> Perhaps something like:
> 
> (head --no-header -n1 file.* | head -n1; tail --no-header -n+2 file.* | sort)
> 
> I.E. add the --no-header option to suppress the ==> file name <== annotations
> which would allow using `head` and `tail` in general for this.

Of course this being useful, it's already supported:

(head -q -n1 file.* | head -n1; tail -q -n+2 file.* | sort)

cheers,
Pádraig

Reply via email to