Minor improvements to 2000/dhyang/try.sh

The script dumped text too fast as there are numerous commands with long
output. The script now prompts with 'read'.

Minor fix in README.md file.
This commit is contained in:
Cody Boone Ferguson committed 2023-12-11 05:45:34 -08:00
1 parent 71e84553cc
commit cb2d9c273d
2 files changed
+11 -8

No files matched your search

+9 -6
View File
@@ -22,8 +22,9 @@ make saitou >/dev/null
echo "$ ./saitou > aku.c" 1>&2
./saitou > aku.c
echo "$ cat aku.c"
cat aku.c
read -r -n 1 -p "Press any key to run: cat aku.c (space = next page, q = quit): "
echo 1>&2
cat aku.c | less -EXF
echo "$ make soku >/dev/null" 1>&2
make soku >/dev/null
@@ -31,8 +32,9 @@ make soku >/dev/null
echo "$ ./soku > soku.c" 1>&2
./soku > soku.c
echo "$ cat soku.c" 1>&2
cat soku.c
read -r -n 1 -p "Press any key to run: cat soku.c (space = next page, q = quit): "
echo 1>&2
cat soku.c | less -EXF
echo "$ make zan >/dev/null" 1>&2
make zan >/dev/null
@@ -40,8 +42,9 @@ make zan >/dev/null
echo "$ ./zan > zan.c" 1>&2
./zan > zan.c
echo "$ cat zan.c" 1>&2
cat zan.c
read -r -n 1 -p "Press any key to run: cat zan.c (space = next page, q = quit): "
echo 1>&2
cat zan.c | less -EXF
echo "$ make aku >/dev/null" 1>&2
make aku >/dev/null