3 ms·
You could have it do "every 5th line". Easy with awk but this is more compact
by renewiltord 4y ago
You could have it do "every 5th line". Easy with awk but this is more compact
- tyingq 4y agoSed is terse for that, but not very memorable...sed -n '0~5p' filename
- renewiltord 4y agoGood tip. Thanks.