GNU bug report logs - #13389
echo command redhat linux OS

Previous Next

Package: coreutils;

Reported by: Mohanad Azzam <mazzam.c <at> stc.com.sa>

Date: Tue, 8 Jan 2013 17:13:02 UTC

Severity: normal

Tags: notabug

Done: Bernhard Voelker <mail <at> bernhard-voelker.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: ovasik <at> redhat.com
Cc: Mohanad Azzam <mazzam.c <at> stc.com.sa>, 13389-done <at> debbugs.gnu.org
Subject: bug#13389: echo command redhat linux OS
Date: Tue, 08 Jan 2013 11:09:46 -0700
[Message part 1 (text/plain, inline)]
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

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 12 years and 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.