10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two files and need to merge into one file. Like
I need one single output as
This means taking header from either file. (8 Replies)
Discussion started by: manisha_singh
2. Shell Programming and Scripting
Please I need your help... I need small script :) to do the following.
I have a thousand of files in a folder produced daily.
I need first to merge all files called. txt (0009.txt, 0010.txt, 0011.txt) and and to output a resume of all information on 2 separate files in csv... (14 Replies)
Discussion started by: jiam912
3. Shell Programming and Scripting
My requirement is,there is a directory location like:
In this location there can be different flat files that are generated in a single day with same header and the data will be different, differentiated by timestamp, so i need to verify how many files are generated... (10 Replies)
Discussion started by: srikanth_sagi
4. UNIX for Dummies Questions & Answers
I would like to know how can I merge files based on their coordinates, but mantaining the score of each file in the output file like:
Note: 1st column is for chromosome, 2nd for start, 3rd for end of segment, 4th for score
1 200 300 20
1 400 500 30
1 200 350 30
1... (1 Reply)
Discussion started by: fadista
5. Shell Programming and Scripting
How could I merge all the text files (in format xml) of a single folder, after having deleted from each of them all the text from its beginning up to a specific string: "<body>" ?
Thanks a lot!
mjomba (4 Replies)
Discussion started by: mjomba
6. Shell Programming and Scripting
This might be the stupidest question I am asking, but I am struck with this problem. I am trying to merge 2 files, file1 has header and file2 has contents. while I merge them , it merges from the 1st line of file1.
for ex: file1
123|234|456|... (2 Replies)
Discussion started by: rashmisb
7. Shell Programming and Scripting
Given are File A and File B
File A has for example 5 lines:
File B has 3 lines:
How can i merge A and B into:
AAA (first line from A)
then a new file: (4 Replies)
Discussion started by: Y-T
8. Shell Programming and Scripting
i'd like a bash script to merge 2 files without duplicate lines.
Expected result, file3 :
toto (5 Replies)
Discussion started by: Celmar
9. Shell Programming and Scripting
i am facing a problem in merging two files using awk,
the problem is as stated below,
1|Mn|op|qr (2 Replies)
Discussion started by: shashi1982
10. Shell Programming and Scripting
I gotta question, i have a lot of log files (simple text) and i need to merge them in group of 10 files, one next to the other, that have sense?
For example, i have the files:
I need to merge the contents of each file into a new file... (3 Replies)
Discussion started by: lestat_ecuador