我有一个名为的文本文件test
,它的内容如下:
Pigeon is the world's oldest domesticated bird.
Research suggests that domestication of pigeons was as early as ten thousand years ago.
People who keep domestic pigeons are generally called pigeon fanciers.
现在我想要这样的结果,句子顺序相反:
People who keep domestic pigeons are generally called pigeon fanciers.
Research suggests that domestication of pigeons was as early as ten thousand years ago.
Pigeon is the world's oldest domesticated bird.
我该怎么做呢?
您可以使用tac
命令:
$ tac file
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句