Search Results

Search: Posts Made By: pr2003
6,224
Posted By pr2003
awk remove column with conditions?
The output should be: I am newbie so I need the awk script which will give me this output so that I can automate the process.

Col1|Col2|Col3|Col4
3 | 4 | B | 6
5 | 6 | B | 8
6,224
Posted By pr2003
awk remove column with conditions?
Folks:

I have a file which has 3 columns. Using awk I want to remove rows from column 3 (Col3 <> A) where it is not equal to A. All columns are seperated by "|".

Col1|Col2|Col3|Col4
1 | 2...
Showing results 1 to 2 of 2

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