Improve output of 2000/anderson/try.sh
This commit is contained in:
1 parent
de4d4772ba
commit
aba6763638
1 file changed
+6
-6
@@ -25,17 +25,17 @@ echo 1>&2
|
||||
echo 'Hello, world!' | ./anderson
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: ./anderson < anderson.c: "
|
||||
read -r -n 1 -p "Press any key to run: ./anderson < anderson.c (space = next page, q = quit): "
|
||||
echo 1>&2
|
||||
./anderson < anderson.c
|
||||
./anderson < anderson.c | less -rEXFK
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: ./anderson < README.md: "
|
||||
read -r -n 1 -p "Press any key to run: ./anderson < README.md (space = next page, q = quit): "
|
||||
echo 1>&2
|
||||
./anderson < README.md
|
||||
./anderson < README.md | less -rEXFK
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: cat README.md anderson.c | ./anderson: "
|
||||
read -r -n 1 -p "Press any key to run: cat README.md anderson.c | ./anderson (space = next page, q = quit): "
|
||||
echo 1>&2
|
||||
cat README.md anderson.c | ./anderson
|
||||
cat README.md anderson.c | ./anderson | less -rEXFK
|
||||
echo 1>&2
|
||||
Reference in new issue
Block a user