小编San*_*aXL的帖子

tac --before 的解释

-b, --before

分隔符附加到文件中它前面的记录的开头。

我无法理解以下输出:

$ echo -e "Hello\nNew\nWorld\n!" > file
$ tac file
!
World
New
Hello
$ tac -b file


!
World
NewHello
Run Code Online (Sandbox Code Playgroud)

为什么New和之间没有换行符Hello

coreutils tac

12
推荐指数
2
解决办法
979
查看次数

标签 统计

coreutils ×1

tac ×1