Search Results

Search: Posts Made By: palmfrond
2,481
Posted By Scrutinizer
Hi, if there are no TABS, try: awk '{for(i=1;...
Hi, if there are no TABS, try:
awk '{for(i=1; i<=NF; i++) if($i~/^ *Dollar|Place *$/) $i="SPECIAL"}1' FS=, OFS=, file



--
otherwise use $i~/^[ \t]*Dollar|Place[ \t]*$/
Showing results 1 to 1 of 1

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