使用道具 举报
最初由 retypedef 发表 也可以用sed sed -e 's/^\(.\{1,5\}\).*/\1/' test.txt 若是有空行或少于5个字符的行,则保留该行.
本版积分规则 发表回复 回帖后跳转到最后一页