bug-coreutils
[Top][All Lists]
Advanced

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

bug#13389: echo command redhat linux OS


From: Eric Blake
Subject: bug#13389: echo command redhat linux OS
Date: Tue, 08 Jan 2013 11:09:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 01/08/2013 11:05 AM, Ondrej Vasik wrote:

>> $ join <(join <(cat -n one) <(cat -n two)) <(cat -n three) |\
>>    sed 's/^[0-9]* *//'
>> 1 a x
>> 2 b y
>> 3 c z
>>
>> There's probably other ways of doing it, as well.
> 
> Actually,
> pr -m -t -s' ' one two three
> seems to be easier to me for this case...

Awesome trick - I would have never thought of pr.  Should we mention
pr(1) in the SEE ALSO of 'man join'?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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