代码改变世界

sed memo 1

2013-01-18 13:25  brookin  阅读(152)  评论(0编辑  收藏  举报

取test.txt最后一行数据

sed -n "\$p" test.txt

sed -n '$p' test.txt