←back to thread

Twelve Days of Shell

(12days.cmdchallenge.com)
256 points zoidb | 2 comments | | HN request time: 0.419s | source
1. pstoll ◴[] No.46190810[source]
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(1): >>46191177 #
2. oneeyedpigeon ◴[] No.46191177[source]
> 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.