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 10:50:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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