Search Results

Search: Posts Made By: RudiC
843
Posted By RudiC
No, I meant ... print $1":"$2":"$3}' Input.txt |...
No, I meant ... print $1":"$2":"$3}' Input.txt | while IFS=":" read ... in post#1.

I do admit, though, that my comment was misleading as a back reference was missing. Editing the post to make it...
843
Posted By RudiC
No awk needed: while IFS=\| read V1 V2 V3 V4...
No awk needed:
while IFS=\| read V1 V2 V3 V4 REST; do [ ! "$V4" = "UPSTR" ] && continue; echo $V1, $V2, $V3; done < file
NOTE1, VALUE1, HMM
NOTE2, , HMP
NOTE3, VALUE3, HML
NOTE4, , HMD
NOTE5,...
Showing results 1 to 2 of 2

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