Skip to content

Commit

Permalink
step4 was bugged when saved already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
singpolyma committed Apr 19, 2012
1 parent a3b2a5e commit ae76fa8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions step4
Expand Up @@ -19,6 +19,8 @@ echo "Having a command print something out is fine if you want to read it now."
echo "What if you want to save it for later?"

OUTPUT=""
rm -f saved
touch saved
while [ "`cat saved`" != "1st thing" ]; do
printf "Try typing ${BOLD}echo \"1st thing\" > saved${NORMAL}.\n"
fakeshell
Expand Down

0 comments on commit ae76fa8

Please sign in to comment.