Search Results

Search: Posts Made By: savant
4,659
Posted By savant
Hey thanks Idapswandog... tried of a lot of other...
Hey thanks Idapswandog... tried of a lot of other changes but didn't think of single to double quotes :)
4,659
Posted By savant
Thanks again Franklin...
Thanks again Franklin...
4,659
Posted By savant
cool.. it works... Thanks so much Franklin.....
cool.. it works...

Thanks so much Franklin..

I have never been into awk programming.. it would be great if you would let me know how this works.. just a small explanation.. this makes use of...
4,659
Posted By savant
Thanks ldapswandog.. I tried both the ...
Thanks ldapswandog..

I tried both the scripts.. the required field is getting replaced with $name/$field2..

For script

for name in $(<temp4); do
nawk -F'|' -v OFS='|' '$2="$name"'...
4,659
Posted By savant
Help to replace a field in one file with a field from another file
I have to replace a field in one file with a field from other file.

I came across this awk command to replace a field with one string
nawk -F'|' -v OFS='|' '$2="replace"' temp2 > temp3

I need...
Showing results 1 to 5 of 5

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