我的文件格式如下:
this!,is!,another!,test,yes!
this!,is!,another!,column,yes!
no,not!,another!,column
Run Code Online (Sandbox Code Playgroud)
我的输出应该是:
test
column
no
Run Code Online (Sandbox Code Playgroud)
它不应该包含“!” 特点。
我已经尝试了多个 sed 和 (e)grep 命令,但没有一个很好用。