我有一个文件,foo.txt包含以下行:
foo.txt
a b c
我想要一个简单的命令,导致内容为foo.txt:
a b
bash scripting command-line truncate
bash ×1
command-line ×1
scripting ×1
truncate ×1