8 ms·
Neat idea à la regex golf. But doesn’t seem to do enough shell escaping or correctly. Also seems underspecified, ie “find 5 lines starting with ‘the” doesn’t r
by pstoll 9mo ago
Neat idea à la regex golf.
But doesn’t seem to do enough shell escaping or correctly. Also seems underspecified, ie “find 5 lines starting with ‘the” doesn’t require a pipe to head -5.
- oneeyedpigeon 9mo ago> find 5 lines Especially since the previous two questions used head/tail. IMO, the wording would be better as "find all the lines" since that's what the command does.