Read 2 Sample per... Fails.

Tormod Volden lists.tormod at gmail.com
Thu Mar 9 17:46:11 GMT 2023


On Thu, Mar 9, 2023 at 6:24 PM Tormod Volden wrote:
> If you want every other line, use -s 2 of course. I see now that you

And if you will need to preprocess instead, as Thore mentioned, awk is
hard to beat:

awk 'NR%2{print}' /tmp/32Mi.data > /tmp/Miodds.data
awk '!(NR%2){print}' /tmp/32Mi.data > /tmp/Mieven.data

Tormod


More information about the Kst mailing list