以下一个班轮反过来打印出文件的内容
$ sed -n '1!G;h;$p' test.txt
当sed逐行读取文件时怎么可能?你能解释一下这个意思吗?
n
1!
G
h
$p
在这个命令?
unix linux sed
linux ×1
sed ×1
unix ×1