Search Results

Search: Posts Made By: lco
1,594
Posted By lco
Thanks it works. my final code include removing...
Thanks it works.
my final code include removing DOS end of line from file1.

awk '{printf $0; getline<f; sub(/.$/,""); print "\t"$4}' f=file1 masterfile > masterfile.new
1,594
Posted By lco
many things, the last one: awk '{getline...
many things, the last one:

awk '{getline lin < "$1.analysis.txt"; print lin"\t"S4}' ${ModelName}.fir > $1.analysis.txt
where ${ModelName}.fir is "file1" and $1.analysis.txt "master-file"
1,594
Posted By lco
Adding column
Hello,

I'm struggling with the following problem in sh script:

Adding a column to the right-end of a file ("master-file": non-constant column number, tab and linux formatted) where the column...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy