9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
trying this using shell/bash with sed/awk/grep
I have two files, one containing one column, the other containing multiple columns (comma delimited).
gh,text4,textd... (6 Replies)
Discussion started by: shogun1970
2. Shell Programming and Scripting
I want to concatenate 2-columns by 2-columns separated by colon. How can I do so? For example, I have a text file containing 6 columns separated by tab. I want to concatenate column 1 and 2; column 3 and 4; column 5 and 6, respectively, and put a colon in between.
1 0 0 1... (10 Replies)
Discussion started by: huiyee1
mY files paths are defined as :
//sbase = 'D:\data\sample_AMC\fasta_files\';
sbase2 = 'D:\data\sample_AMC\fasta_files\results\';
snameprefix = 'orig_ind';
snameprefix3 = 'results_ind';
const string filname = sbase + snameprefix + snamesuffix;
const string resultsname_ =... (2 Replies)
Discussion started by: siya@
4. Shell Programming and Scripting
In any given file, wherever a certain data block exists I need to concatenate the values(text after each "=" sign) from that block. in that block. The block starts and ends with specific pattern, say BEGIN DS and END DS respectively. The block size may vary. A file will have multiple such blocks.... (12 Replies)
Discussion started by: Prev
5. Shell Programming and Scripting
I have a file files.txt containing data as below:
I want to develop strings like below using the above data and write them into another file:
All this needs to be done through .sh file.
... (4 Replies)
Discussion started by: archana.n
6. Shell Programming and Scripting
Hi. I'm attempting to copy 4 text files together to create one larger file. All four files contain text in the same format. Can I do this?
I attempted this, but it didn't work:
cp wscreening_test_h_po.dat+wscreening_test_b_po.dat+wscreening_test_h_notpo.dat... (1 Reply)
Discussion started by: buechler66
7. Shell Programming and Scripting
I found the following line would concatenate all test_01 test_02 test_03 files into "bigfile".
cat test_* >> bigfile
But, what I'm looking for a way to insert each file names in order when concatenated in "bigfile".
samky2005 (2 Replies)
Discussion started by: samky2005
8. UNIX for Advanced & Expert Users
I have a file MyTest.csv saved in Unicode format in Incoming directory, and I have another file called MyTest.csv saved in ANSII format in InProcess Directory.
I need to concatenate the text of both these files and put in another file MyTest.csv which is placed in the root directory.
How do I... (1 Reply)
Discussion started by: Uniq
9. UNIX for Dummies Questions & Answers
I have a question about file concatenate on unix. I have two file
1 of them like aaa,bbb,ccc,ddd
other one is eee,fff,ggg,hhh
I want to concatenate those file like this position
how can I do this ??
Alice (3 Replies)
Discussion started by: alisev