I have many files (File 1, File 2, File 3, ...) in same directory.
The format of all these files are same.
What I would like to do is to combine all these files into a single file via cross over.
Example)
>>File 1 look like this.
f1 01 1.0
f1 02 2.0
f1 03 3.0
f1 04 4.0
f1 05 5.0
f1 06 6.0
.
.
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)
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)
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)
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)
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
7. 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)