- 使用perl快速删除文件的前两列
test.txt文件内容
1 2 3 4 5 6
perl -lane 'print join("\t",@F[2..$#F])' test.txt
输出效果
3 4 5 6
<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">
1 2 3 4 5 6
perl -lane 'print join("\t",@F[2..$#F])' test.txt
输出效果
3 4 5 6
<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">
转载于:https://www.cnblogs.com/raisok/p/10838323.html