AWK tutorial: awk save to file
April 9, 2019
AWK save to file
➜ awk cat test1.txt | awk 'BEGIN{FS=":";OFS="|"}{print $1,$2,$3}' > test11.txt
AWK append to file
➜ awk cat test1.txt | awk 'BEGIN{FS=":";OFS="|"}{print $1,$2,$3}' >> test11.txt
One Comment