←back to thread

Twelve Days of Shell

(12days.cmdchallenge.com)
256 points zoidb | 1 comments | | HN request time: 0.216s | source
Show context
bArray ◴[] No.46191749[source]
Great idea, but a few feedback points:

1. It's difficult to know that it is following from the previous problem, and then on some problems it changes the workspace.

2. It's not always easy to know what it wants.

3. The question about finding a line starting with "The" I successfully cheated:

     cat night-before-christmas.txt | grep "The "
4. Likewise the ending "!":

    cat night-before-christmas.txt | grep "!"
5. On the eighth day I get a "runner error" with the command:

     mv *lve* Workshop
I'm globbing for the filename match, I'm not sure if it's "elve" or "Elve" and then trying to move to the target directory.

Otherwise it's quite fun - the instant feedback is great.

replies(1): >>46194143 #
1. iN7h33nD ◴[] No.46194143[source]
iirc Elves is a directory with them inside.