Tuesday, February 3, 2015

sed -n '0~10p' file.in > file.out

To copy every 10th row, starting from 0th row, from a file file.in to file.out

No comments:

Post a Comment