10-17-2007
Hi.
You can use command paste for this, but you need to tell it to use a newline (\n) rather than a TAB as a separator.
See man paste, experiment, and follow-up if you run into trouble ... cheers, drl
7 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
In regards to this post:
https://www.unix.com/showthread.php?s=&threadid=10372
it may be advisable to inform new members about the repercussions of cross-posting. (9 Replies)
Discussion started by: Karma
9 Replies
2. Shell Programming and Scripting
i have two files which contains some fields separated by columns as
03/29/1999 08:48:12 02 172.16.114.50
03/29/1999 09:08:00 480 172.16.112.100
Both of the files do have the same format
I want the script which will take two such... (3 Replies)
Discussion started by: vaibhavkorde
3 Replies
3. Shell Programming and Scripting
I need to make my sloppy, existing code (non awk) more efficient and I seem to be terrible with awk :wall:
I've tried around quite a bit, maybe you guys can conjure up a quick solution...
file1:
2 SOL 563
2 SOL 565
3 SOL 589
2 SOL 603
1 SOL 612
1 SOL 621... (1 Reply)
Discussion started by: origamisven
1 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am very unfamiliar with linux/unix (don't even know the difference), but am trying to get some linux software to run on my Windows machine for my research. I have the makefiles for the software, and it is designed to be compiled in the PGI complier, which I also have. When i... (6 Replies)
Discussion started by: roba87
6 Replies
5. Linux
Hi,
I'm cross compiling libelektra to arm from linux system its giving library errors can any one help me? (0 Replies)
Discussion started by: Gautham.P
0 Replies
6. Programming
recently i was been to an interview to an automotive company, they have posed me a question that what section of compiler must be changed if the target is changed.
ie,if ur compiler is meant for generating executable to a 8051 target what changes do you do to make it flexible to generate the... (2 Replies)
Discussion started by: shyam.sunder91
2 Replies
7. Shell Programming and Scripting
I need help to do cross tab
file input
20160101|ASIA|CHINA|2000
20160101|ASIA|INDIA|3000
20160102|ASIA|CHINA|4000
20160103|ASIA|CHINA|2000
20160103|AFRIKA|ZAMBIA|2000
20160104|ASIA|CHINA|5000
expected output
CONTINENT|NATION|20160101|20160102|20160103|20160104... (1 Reply)
Discussion started by: radius
1 Replies