使用bash shell,如何多次输出剪切列

Han*_*ans 1 bash shell

在输出中多次剪切列并打印其中一些的正确方法是:

cut -d " " -f1,3,3,4 in > out
Run Code Online (Sandbox Code Playgroud)

不起作用.

Sha*_*hin 6

awk '{print $1" "$3" "$3" "$4}' in > out
Run Code Online (Sandbox Code Playgroud)