Minor fixes in 2000/anderson/try.sh
This commit is contained in:
1 parent
c223aaa44c
commit
bd6bef9faa
1 file changed
+10
@@ -16,16 +16,26 @@ make CC="$CC" all >/dev/null || exit 1
|
||||
clear
|
||||
|
||||
read -r -n 1 -p "Press any key to run: echo Obfuscate | ./anderson: "
|
||||
echo 1>&2
|
||||
echo Obfuscate | ./anderson
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: echo 'Hello, world!' | ./anderson: "
|
||||
echo 1>&2
|
||||
echo 'Hello, world!' | ./anderson
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: ./anderson < anderson.c: "
|
||||
echo 1>&2
|
||||
./anderson < anderson.c
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: ./anderson < README.md: "
|
||||
echo 1>&2
|
||||
./anderson < README.md
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: cat README.md anderson.c | ./anderson: "
|
||||
echo 1>&2
|
||||
cat README.md anderson.c | ./anderson
|
||||
echo 1>&2
|
||||
Reference in new issue
Block a user