
Input_file
"5" '6' '7'
Final_file should have
5 "6" '7'
한 줄 명령이 필요합니다
답변1
$ cat test.txt
"5" '6' '7'
$ awk -F"[\"']" '{print $2 " \""$4"\"",q$6q}' q="'" test.txt
5 "6" '7'
Input_file
"5" '6' '7'
Final_file should have
5 "6" '7'
한 줄 명령이 필요합니다
$ cat test.txt
"5" '6' '7'
$ awk -F"[\"']" '{print $2 " \""$4"\"",q$6q}' q="'" test.txt
5 "6" '7'