Search Results

Search: Posts Made By: unknownn
3,515
Posted By Don Cragun
One way to do it is using [ and ] as field...
One way to do it is using [ and ] as field separators is:
awk -F '[]]|[[]' '{for(i=1; i<=NF; i+=2)printf("%s",$i);printf("\n")}' in
or using gsub():
awk '{gsub("[[][^]]+[]]","")}1' in
If you're...
Showing results 1 to 1 of 1

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