使用道具 举报
Post by ziyang;2010581 awk 'BEGIN { count = 1 } { line = substr($0, 1, 1); ind = count % 3 ? count % 3 : 3; if(ind == line) {print $0; count++}}' datafile
本版积分规则 发表回复 回帖后跳转到最后一页