Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

in step5, avoid just typing cat

  • Loading branch information...
commit 413cf12199407b83e170c1f47145591c3fd078d3 1 parent 7b77165
@singpolyma authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  step5
View
1  step5
@@ -7,6 +7,7 @@ fakeshell() {
read -p "$ " -r COMMAND
IFS="$oldifs"
if [ "$COMMAND" = "exit" ]; then exit; fi
+ if [ "$COMMAND" = "cat" ]; then COMMAND="cat --help"; fi
OUTPUT="`eval "$COMMAND"`"
echo "$OUTPUT"
echo
Please sign in to comment.
Something went wrong with that request. Please try again.