Slightly improve 1995/dodsond1/try.sh
This commit is contained in:
1 parent
0b33dbb9f0
commit
d1b6f9531b
1 file changed
+6
-2
@@ -17,8 +17,12 @@ make CC="$CC" all >/dev/null || exit 1
|
||||
# clear screen after compilation so that only the entry is shown
|
||||
clear
|
||||
|
||||
echo "$ cat try.this.txt"
|
||||
read -r -n 1 -p "Press any key to show try.this.txt: "
|
||||
echo 1>&2
|
||||
cat try.this.txt
|
||||
echo 1>&2
|
||||
|
||||
echo "$ ./dodsond1 < try.this.txt"
|
||||
read -r -n 1 -p "Press any key to run: ./dodsond1 < try.this.txt: "
|
||||
echo 1>&2
|
||||
./dodsond1 < try.this.txt
|
||||
echo 1>&2
|
||||
Reference in new issue
Block a user