sed的工作原理
发表于 : 2010-08-16 17:06
源文档:quote.txt
the first line
the second line
the third line
the fourth line
sed '2p' quote.txt 输出
the first line
the second line
the second line
the third line
the fourth line
sed -n '2p' quote.txt 输出
the second line
谁能根据这个例子说说sed的工作原理?
the first line
the second line
the third line
the fourth line
sed '2p' quote.txt 输出
the first line
the second line
the second line
the third line
the fourth line
sed -n '2p' quote.txt 输出
the second line
谁能根据这个例子说说sed的工作原理?