Skip to content

Instantly share code, notes, and snippets.

@Me1000
Created August 18, 2012 18:25
Show Gist options
  • Save Me1000/3388879 to your computer and use it in GitHub Desktop.
Save Me1000/3388879 to your computer and use it in GitHub Desktop.
echo "Hi, I'm Douglas Crockford. What do you want?";
while read question
do
what="$question"
if [ -z "${what}" ]; then
echo "Stop waisting my time."
exit
else
echo "My code is perfect."
fi
done
@Me1000
Copy link
Author

Me1000 commented Aug 18, 2012

Take a moment to appreciate the use of the "echo" keyword here.

@sandywu
Copy link

sandywu commented Aug 19, 2012

"Follow Your Heart | 学会承担 | 多思考!小不忍则乱大谋"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment