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 #12 received at control <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Mohanad Azzam <mazzam.c <at> stc.com.sa>
Cc: 13389-done <at> debbugs.gnu.org
Subject: Re: bug#13389: echo command redhat linux OS
Date: Tue, 08 Jan 2013 10:50:24 -0700
[Message part 1 (text/plain, inline)]
tag 13389 notabug
thanks

On 01/07/2013 10:57 PM, Mohanad Azzam wrote:
> Dears
> 
> Could we print values to be as three column ,each column present the values of each file.
> 
> More explanation :
> I have three files ,each file include a queue of values .I need to print all the values by one command to be in one page

Rather than attempting to describe the problem, giving us an actual
sample of three files, each containing three or so lines, as well as the
desired output you want, would go a lot further in explaining the
problem you really want solved.  I will attempt to describe a setup that
I think matches the wording you gave.  I created three files:

$ cat one
1
2
3
$ cat two
a
b
c
$ cat three
x
y
z

Then I can use something like this to merge those three files into a
single listing with three columns, one entry from each file:

$ 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.

At any rate, your request is more of a usage question, and not an actual
bug report.  To avoid polluting the bug tracker with something that
needs no further action in coreutils, I have marked this as not a bug.
But you should still feel free to reply if you have further comments, or
can provide more details about the real problem you are trying to solve.

> 
> The information in this email may contain confidential material

Unfortunately, it is now posted to a public archive, and this disclaimer
is rendered unenforceable.  For better netiquette, you may want to
consider posting from a private account, rather than one where your
employer tacks on lame legalese.

-- 
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.