Add missing try.sh to 2005/giljade/README.md
I also slightly improved the script.
This commit is contained in:
1 parent
cb9d7dbb69
commit
66bbe52fef
2 files changed
+10
-15
No files matched your search
@@ -29,15 +29,8 @@ For more detailed information see [2005 giljade in bugs.md](/bugs.md#2005-giljad
|
|||||||
## Try:
|
## Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./giljade > out
|
./try.sh
|
||||||
```
|
```
|
||||||
Open an xterm with 78 lines.
|
|
||||||
|
|
||||||
```sh
|
|
||||||
vi out
|
|
||||||
```
|
|
||||||
|
|
||||||
Press `^F` (control F) repeatedly.
|
|
||||||
|
|
||||||
|
|
||||||
### Self-test feature to try:
|
### Self-test feature to try:
|
||||||
@@ -47,6 +40,8 @@ Press `^F` (control F) repeatedly.
|
|||||||
./giljade out
|
./giljade out
|
||||||
```
|
```
|
||||||
|
|
||||||
|
NOTE: [try.sh](try.sh) will ask you if you wish to do this.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
|
|||||||
+7
-7
@@ -23,19 +23,19 @@ echo 1>&2
|
|||||||
./giljade > out
|
./giljade > out
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
echo "For this next step, make sure to keep pressing space (or hold it down) (q = quit)." 1>&2
|
echo "For this next step, make sure to keep pressing space (or hold it down) (q = quit)." 1>&2
|
||||||
read -r -n 1 -p "Press any key to run: less -rEXF out: "
|
read -r -n 1 -p "Press any key to continue: "
|
||||||
less -rEXF out
|
|
||||||
|
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
less -rEXFK out
|
||||||
|
echo 1>&2
|
||||||
|
|
||||||
echo "We've left the file 'out' for you in case you wish to open it in vi(m). If" 1>&2
|
echo "We've left the file 'out' for you in case you wish to open it in vi(m). If" 1>&2
|
||||||
echo "you do we recommend you try holding ctrl-f down in a similar way to how you held" 1>&2
|
echo "you do we recommend you try holding ctrl-f down in a similar way to how you held" 1>&2
|
||||||
echo "down space above. Of course you can open it in another editor if you wish." 1>&2
|
echo "down space above. Of course you can open it in another editor if you wish." 1>&2
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|
||||||
read -r -p "Do you wish to run the test suite (y/n) ? "
|
read -r -p "Do you wish to run the test suite (Y/N)? "
|
||||||
if [[ "$REPLY" == "y" || "$REPLY" = "Y" ]]; then
|
if [[ "$REPLY" == "y" || "$REPLY" = "Y" ]]; then
|
||||||
echo "$ make test" 1>&2
|
read -r -n 1 -p "Press any key to run: make test: "
|
||||||
|
echo 1>&2
|
||||||
make test
|
make test
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user