oh-my-git/levels/unused/files-move

28 lines
699 B
Text
Raw Normal View History

2020-11-13 11:36:05 +01:00
title = No sleep required
cards = file-new file-delete file-rename
2020-11-13 11:36:05 +01:00
[description]
Actually, you decide that you don't need any sleep.
2020-11-13 11:36:05 +01:00
Because of that, you won't require a bed, and can build some other piece of furniture from the wood!
2020-11-13 11:36:05 +01:00
[setup]
echo A yellow cupboard with lots of drawers. > cupboard
echo A really big yellow shelf. > shelf
echo A comfortable, yellow bed with yellow cushions. > bed
[win]
# Rename the bed into something else, and give it a new description!
NUM_FILES="$(ls | wc -l)"
! test -f bed && test "$NUM_FILES" -ge 3 && ! grep -r "yellow bed" .
2020-11-13 11:36:05 +01:00
[congrats]
Neat! It even still looks a bit comfortable!
You head out, eager for your first lesson at time travel school!