Sequoia / clijs

Nodeschool lesson-set for learning to build shell tools with javascript
GNU General Public License v3.0
5 stars 0 forks source link

problem.md or Readme.md? #16

Closed ghost closed 9 years ago

ghost commented 9 years ago

Some exercises define the problem using problem.md and other use Readme.md

Let's get consistent !!:exclamation:!

:ram: :sheep: :sheep: :ram: :ram: :sheep: :ram:

Sequoia commented 9 years ago

hmmm... I guess I could try

$ find . -name problem.md | sed -e "p;s/problem/Readme/" | xargs -n2 git mv
$ ack problem.md -l | xargs sed -e 's/problem.md/Readme.md/' -i ''

I'll see if that works. :wink:

ghost commented 9 years ago

And I thought I liked making things complicated...

$ find . -name problem.md | rename -s problem readme
$ git add -A
Sequoia commented 9 years ago

Rename wasn't working for some reason :p

Sequoia commented 9 years ago
/tmp ⌚ 13:53:11
$ rename
zsh: command not found: rename

/tmp ⌚ 13:53:14
$ which rename
rename not found

:disappointed: