bug-coreutils
[Top][All Lists]
Advanced

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

Re: join with header line support


From: Pádraig Brady
Subject: Re: join with header line support
Date: Fri, 30 Oct 2009 23:24:28 +0000
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Assaf Gordon wrote:
> Hello,
> 
> I'd like to suggest a small feature for 'join':
> 
> "--header" makes join join the first line from each file regardless of
> the join field and ordering.
> This allows joining files which have header lines in them.
> 
> Example:
> ===============
> $ cat 1.txt
> ID    Color    Name
> 1    green    Alice   
> 2    red    Bob
> 3    blue    Carol
> 4    black    Dave
> 
> 
> $ cat 2.txt
> ID    Age
> 2    55
> 4    24

I like that.

cheers,
Pádraig.




reply via email to

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