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


Message #24 received at 13389-done <at> debbugs.gnu.org (full text, mbox):

From: Ondrej Vasik <ovasik <at> redhat.com>
To: Eric Blake <eblake <at> redhat.com>
Cc: Mohanad Azzam <mazzam.c <at> stc.com.sa>, 13389-done <at> debbugs.gnu.org
Subject: Re: bug#13389: echo command redhat linux OS
Date: Tue, 08 Jan 2013 19:14:09 +0100
On Tue, 2013-01-08 at 11:09 -0700, Eric Blake wrote:
> 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'?

Maybe, might be useful for someone - though I think this is more
suitable for info documentation example/link...

Greetings,
          Ondrej






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.