Search Results

Search: Posts Made By: Scott
3,255
Posted By Scott
awk '{print ($2=="bbbb")?$3:$2}' file ...
awk '{print ($2=="bbbb")?$3:$2}' file


What does "Also the fields are not all spaced out as example..It varies." mean, exactly? There may or may not be spaces, or more that one space, or "cccc"...
Showing results 1 to 1 of 1

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