logoalt Hacker News

pstolltoday at 10:45 AM1 replyview on HN

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.


Replies

oneeyedpigeontoday at 11:44 AM

> 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.