我想用nl命令在Linux / solaris上的文本文件中对每行进行编号
但只能从第三行开始 – 可能吗? 如果是,请咨询如何?
例如
line1 line2 1 line3 2 line4
f=filename head -2 $f; sed '1,2d' $f | nl