3 ms·
This feature seems more like a replacement for head and tail (and combination of both) rather than cut. Maybe a good way to explain it would be to show how to
by forty 4y ago
This feature seems more like a replacement for head and tail (and combination of both) rather than cut.
Maybe a good way to explain it would be to show how to achieve the same thing with those well known commands (comparison which should certainly be in favor of tuc ^^)
EDIT: sorry you just said more or less the same thing, I need to read better :)
- renewiltord 4y agoYou 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.