Input_file
"5" '6' '7'
Final_file should have
5 "6" '7'
1行のコマンドが必要です
答え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'
1行のコマンドが必要です
$ cat test.txt
"5" '6' '7'
$ awk -F"[\"']" '{print $2 " \""$4"\"",q$6q}' q="'" test.txt
5 "6" '7'