10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to know how can I obtain this:
There are two text files.....ffirst.txt and fsecond.txt
ffirst.txt contains 5 lines (example):
fsecond.txt contains 10 lines (example):
6 (4 Replies)
Discussion started by: gandrinno1
2. Shell Programming and Scripting
I use Ubuntu 14.04 LTS and bash shell.
I need help to write a script to combine two text files. The first file is FIRST.txt
<Text Text_ID="10155645315851111_10155645333076543" From="460350337461111" Created="2011-03-16T17:05:37+0000" use_count="123">This is the first text</Text>
<Text... (15 Replies)
Discussion started by: my_Perl
3. Shell Programming and Scripting
How can I combine the data of of three files into one new file?
I try to give as much informations as possible.
The three existing files are called file1 file2 and file3
the new file should named output_combined.
The size of the files will be around 900 words/lines each .. but always... (5 Replies)
Discussion started by: MyMemberName
4. Shell Programming and Scripting
I have three separate text files which has only one line and i want to combine these lines in one text file which will have three lines.
1265 6589 1367
0.98 0.36 0.5
So, I want to see these three lines in the... (9 Replies)
Discussion started by: senayasma
5. Shell Programming and Scripting
I want to combine 2 files and and put together in 1 file and make two columns out it. See below desired output. Any help will be much appreciated.
CCCCC (11 Replies)
Discussion started by: pinpe
6. Shell Programming and Scripting
Hi! I'm trying to take multiple text files (6), which have text on some lines but not others, and combine them. I'd also like to make the values in one column of some of the files (files 4-6) negative. I'm trying to write a short script (see below) as I have to do this with a large number of... (2 Replies)
Discussion started by: felix.echidna
7. UNIX for Dummies Questions & Answers
how to combine text files in new file and be separated by commas :
i need output to be
1,x,m (9 Replies)
Discussion started by: takyeldin
8. Shell Programming and Scripting
I am trying to combine columns from multiple text files into a single file using paste command but the record length being unequal in the different files the data is running over to the closest empty cell on the left. Please see below.
What can i do to resolve this ?
File 1 File... (15 Replies)
Discussion started by: venky_ibm
9. Shell Programming and Scripting
I want to combine two lines in same file. If the line ends with '&' it should belongs to previous line only
Here i am writing example.
line 1 : return abcdefgh&
line 2 : ijklmnopqr&
line 3 : stuvw&
line 4 : xyz
output should be
line 1: return abcdefghijklmnopqrstuvwxyz
... (11 Replies)
Discussion started by: spc432
10. Shell Programming and Scripting
I have 2 text files, both have one simple, single column. The 2 files might be the same length, or might not, and if not, it's unknown which one would be longer.
For this example, file1 is longer:
Car... (3 Replies)
Discussion started by: cajunfries