Search Results

Search: Posts Made By: gefa
38,192
Posted By gefa
Thanks Gaurav, I do use both methods, but tend to...
Thanks Gaurav, I do use both methods, but tend to use mine as it illustrates what the code is doing should anyone else look at it, I agree though that your suggestion is probably more efficient.
38,192
Posted By gefa
You could do something like cat filename...
You could do something like

cat filename |while read file
do
echo $file |awk '{print $1,$2,$3"abc",$4}' >> newfile
done

Where abc will be joined onto existing text in column 3.
Showing results 1 to 2 of 2

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