Rename demo.sh scripts to try.sh
This is because they are under the try section. I'm aware that there's a script called try.me.sh but that's not been decided on a name change. It probably should be changed to try.sh to be consistent and probably will be but it's not been yet. The manifest files in tmp/ have been updated as well, including the macOS Numbers file.
This commit is contained in:
1 parent
9c8ce5989a
commit
0c6b533363
13 files changed
+29
-29
No files matched your search
@@ -23,7 +23,7 @@ code](#alternate-code) section below for how to use the original.
|
||||
Also try:
|
||||
|
||||
```sh
|
||||
./demo.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
to show the code with followed by the result so you can truly see the magic.
|
||||
|
||||
File renamed without changes.
+1
-1
@@ -19,7 +19,7 @@ echo text | ./fine
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./demo.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
Make sure that you read the last line backwards! Credit goes to [Merlyn LeRoy (Brian
|
||||
|
||||
File renamed without changes.
@@ -44,7 +44,7 @@ make clobber CDEFINE=-DZ=7500 alt
|
||||
|
||||
perl -e 'map{map{print int(rand()*8);}(0..16);print chr(10);}(0..30);' | tr '[0-4]' ' '| ./birken.alt
|
||||
|
||||
./demo.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
If you wish to speed it up 200% you can use instead `-DZ=3750`. Doing this
|
||||
@@ -65,7 +65,7 @@ Use `birken` as you would `birken.alt` above. To use the demo script with the
|
||||
original code, try:
|
||||
|
||||
```sh
|
||||
BIRKEN=birken ./demo.sh
|
||||
BIRKEN=birken ./try.sh
|
||||
```
|
||||
|
||||
PLEASE be careful if you are sensitive to flashing colours!
|
||||
|
||||
File renamed without changes.
@@ -46,7 +46,7 @@ seq -f '%.0f ' 45 | ./horizontal_cat - misaka.c
|
||||
Alternately you can just try:
|
||||
|
||||
```sh
|
||||
./demo.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
NOTE: Use - for standard input. For example:
|
||||
|
||||
File renamed without changes.
+6
-6
@@ -644,7 +644,7 @@ was fixed by Misha Dynin, based on the judges' remarks, so that this would work
|
||||
with modern C compilers. We encourage you to try the alternate version to see
|
||||
what happens with current compilers! See the README.md files for details.
|
||||
|
||||
Cody added the [demo.sh](1988/westley/demo.sh) script to show the magic of the
|
||||
Cody added the [try.sh](1988/westley/try.sh) script to show the magic of the
|
||||
entry as seeing the code with the result at once is far more beautiful.
|
||||
|
||||
|
||||
@@ -1016,7 +1016,7 @@ there were other fewer restrictions and also by removing a cast that was
|
||||
not strictly necessary (this does create a new warning: `ordered comparison
|
||||
between pointer and integer ('char **' and 'int')` but it works just fine).
|
||||
|
||||
Cody also added the [demo.sh](1991/fine/demo.sh) script which feeds the program
|
||||
Cody also added the [try.sh](1991/fine/try.sh) script which feeds the program
|
||||
some fun input for fun but mostly different output.
|
||||
|
||||
## [1991/westley](1991/westley/westley.c) ([README.md](1991/westley/README.md]))
|
||||
@@ -2190,7 +2190,7 @@ sure if he wants to be thanked either :-) but we appreciate it nonetheless.
|
||||
|
||||
## [2013/birken](2013/birken/birken.c) ([README.md](2013/birken/README.md]))
|
||||
|
||||
Along with the [demo.sh](2013/birken/demo.sh) that he added, Cody also added an
|
||||
Along with the [try.sh](2013/birken/try.sh) that he added, Cody also added an
|
||||
alternate version which allows one to control how fast the painting is done,
|
||||
based on the author's recommendations, except that Cody made it configurable at
|
||||
compile time just like he did with other entries (in all but one it was
|
||||
@@ -2248,7 +2248,7 @@ clobber` will delete both and running `make clobber all` will ensure that the
|
||||
symlink is created. The `sflen.sh` script also explicitly makes sure to create
|
||||
the symlink as it uses it, even though it runs `make clobber all`.
|
||||
|
||||
Cody also added the [demo.sh](2013/dlowe/demo.sh) script to more easily try the
|
||||
Cody also added the [try.sh](2013/dlowe/try.sh) script to more easily try the
|
||||
program.
|
||||
|
||||
## [2013/endoh2](2013/endoh2/endoh2.c) ([README.md](2013/endoh2/README.md))
|
||||
@@ -2326,7 +2326,7 @@ this broke `make` which Cody also fixed.
|
||||
## [2013/misaka](2013/misaka/misaka.c) ([README.md)[2013/misaka/README.md))
|
||||
|
||||
As there are a lot of commands to try, Cody added the
|
||||
[demo.sh](2013/misaka/demo.sh) script to do this, sleeping for approximately 1
|
||||
[try.sh](2013/misaka/try.sh) script to do this, sleeping for approximately 1
|
||||
second between commands.
|
||||
|
||||
|
||||
@@ -2496,7 +2496,7 @@ appears to fix the problem in both macOS and linux. Perhaps this is the problem
|
||||
that the author reported where it sometimes segfaults but Cody did not try
|
||||
debugging it since it works with `-O0`.
|
||||
|
||||
He also added the script [demo.sh](2019/karns/demo.sh) to showcase the entry a
|
||||
He also added the script [try.sh](2019/karns/try.sh) to showcase the entry a
|
||||
bit more easily.
|
||||
|
||||
## [2020/endoh2](2020/endoh2/prog.c) ([README.md](2020/endoh2/README.md))
|
||||
|
||||
+6
-6
@@ -331,7 +331,7 @@
|
||||
1988,westley,30,Makefile,null,null,makefile,null,true,github,how to compile
|
||||
1988,westley,40,westley.alt.c,null,alt,c,c,true,github,alternative source
|
||||
1988,westley,50,westley.orig.c,null,orig,c,c,true,github,original source
|
||||
1988,westley,100,demo.sh,null,null,shellscript,sh,true,github,how to run
|
||||
1988,westley,100,try.sh,null,null,shellscript,sh,true,github,how to run
|
||||
1988,westley,300,1988_westley.tar.bz2,mkwinnertbz2,null,tbz2,bz2,true,download,download winning source
|
||||
1989,fubar,null,README.md,null,null,markdown,md,false,null,null
|
||||
1989,fubar,null,.gitignore,null,null,gitignore,gitignore,false,null,list of files that should not be committed under git
|
||||
@@ -620,7 +620,7 @@
|
||||
1991,fine,20,fine.c,null,main,c,c,true,github,winning source
|
||||
1991,fine,30,Makefile,null,null,makefile,null,true,github,how to compile
|
||||
1991,fine,50,fine.orig.c,null,orig,c,c,true,github,original source
|
||||
1991,fine,100,demo.sh,null,null,shellscript,sh,true,github,how to run
|
||||
1991,fine,100,try.sh,null,null,shellscript,sh,true,github,how to run
|
||||
1991,fine,300,1991_fine.tar.bz2,mkwinnertbz2,null,tbz2,bz2,true,download,download winning source
|
||||
1991,rince,null,README.md,null,null,markdown,md,false,null,null
|
||||
1991,rince,null,.gitignore,null,null,gitignore,gitignore,false,null,list of files that should not be committed under git
|
||||
@@ -2900,7 +2900,7 @@
|
||||
2013,birken,100,boo.txt,null,null,text,txt,true,github,sprites in this textual format
|
||||
2013,birken,100,bub.txt,null,null,text,txt,true,github,sprites in this textual format
|
||||
2013,birken,100,cheepcheep.txt,null,null,text,txt,true,github,sprites in this textual format
|
||||
2013,birken,100,demo.sh,null,null,shellscript,sh,true,github,demo script with the original code
|
||||
2013,birken,100,try.sh,null,null,shellscript,sh,true,github,demo script with the original code
|
||||
2013,birken,100,format.txt,null,null,text,txt,true,github,sprites in this textual format
|
||||
2013,birken,100,gurin.txt,null,null,text,txt,true,github,sprites in this textual format
|
||||
2013,birken,100,happyface.txt,null,null,text,txt,true,github,sprites in this textual format
|
||||
@@ -2977,7 +2977,7 @@
|
||||
2013,dlowe,20,dlowe.c,null,main,c,c,true,github,winning source
|
||||
2013,dlowe,30,Makefile,null,null,makefile,null,true,github,how to compile
|
||||
2013,dlowe,50,dlowe.orig.c,null,orig,c,c,true,github,original source
|
||||
2013,dlowe,100,demo.sh,null,null,shellscript,sh,true,github,how to run
|
||||
2013,dlowe,100,try.sh,null,null,shellscript,sh,true,github,how to run
|
||||
2013,dlowe,100,fun.c,null,null,c,c,true,github,compile and run for extra run
|
||||
2013,dlowe,100,sflen.sh,null,null,shellscript,sh,true,github,generate sparkline of file lengths
|
||||
2013,dlowe,300,2013_dlowe.tar.bz2,mkwinnertbz2,null,tbz2,bz2,true,download,download winning source
|
||||
@@ -3214,7 +3214,7 @@
|
||||
2013,misaka,30,Makefile,null,null,makefile,null,true,github,how to compile
|
||||
2013,misaka,50,misaka.orig.c,null,orig,c,c,true,github,original source
|
||||
2013,misaka,100,bf.pl,null,null,perl,pl,true,github,BF interpreter
|
||||
2013,misaka,100,demo.sh,null,null,shellscript,sh,true,github,how to run
|
||||
2013,misaka,100,try.sh,null,null,shellscript,sh,true,github,how to run
|
||||
2013,misaka,200,spoiler.html,null,null,html,html,true,browser,SPOILER WARNING
|
||||
2013,misaka,300,2013_misaka.tar.bz2,mkwinnertbz2,null,tbz2,bz2,true,download,download winning source
|
||||
2013,morgan1,null,README.md,null,null,markdown,md,false,null,null
|
||||
@@ -3898,7 +3898,7 @@
|
||||
2019,karns,20,prog.c,null,main,c,c,true,github,winning source
|
||||
2019,karns,30,Makefile,null,null,makefile,null,true,github,how to compile
|
||||
2019,karns,50,prog.orig.c,null,orig,c,c,true,github,original source
|
||||
2019,karns,100,demo.sh,null,null,shellscript,sh,true,github,run the demo
|
||||
2019,karns,100,try.sh,null,null,shellscript,sh,true,github,run the demo
|
||||
2019,karns,100,maze,null,null,text,null,true,github,input maze map
|
||||
2019,karns,300,2019_karns.tar.bz2,mkwinnertbz2,null,tbz2,bz2,true,download,download winning source
|
||||
2019,lynn,null,README.md,null,null,markdown,md,false,null,null
|
||||
|
||||
|
Binary file not shown.
@@ -226,7 +226,7 @@
|
||||
1988/westley/.id
|
||||
1988/westley/Makefile
|
||||
1988/westley/README.md
|
||||
1988/westley/demo.sh
|
||||
1988/westley/try.sh
|
||||
1988/westley/westley.alt.c
|
||||
1988/westley/westley.c
|
||||
1988/westley/westley.orig.c
|
||||
@@ -431,7 +431,7 @@
|
||||
1991/fine/.id
|
||||
1991/fine/Makefile
|
||||
1991/fine/README.md
|
||||
1991/fine/demo.sh
|
||||
1991/fine/try.sh
|
||||
1991/fine/fine.c
|
||||
1991/fine/fine.orig.c
|
||||
1991/rince/.gitignore
|
||||
@@ -2159,7 +2159,7 @@
|
||||
2013/birken/boo.txt
|
||||
2013/birken/bub.txt
|
||||
2013/birken/cheepcheep.txt
|
||||
2013/birken/demo.sh
|
||||
2013/birken/try.sh
|
||||
2013/birken/format.txt
|
||||
2013/birken/gurin.txt
|
||||
2013/birken/happyface.txt
|
||||
@@ -2239,7 +2239,7 @@
|
||||
2013/dlowe/.id
|
||||
2013/dlowe/Makefile
|
||||
2013/dlowe/README.md
|
||||
2013/dlowe/demo.sh
|
||||
2013/dlowe/try.sh
|
||||
2013/dlowe/dlowe.c
|
||||
2013/dlowe/dlowe.orig.c
|
||||
2013/dlowe/fun.c
|
||||
@@ -2454,7 +2454,7 @@
|
||||
2013/misaka/Makefile
|
||||
2013/misaka/README.md
|
||||
2013/misaka/bf.pl
|
||||
2013/misaka/demo.sh
|
||||
2013/misaka/try.sh
|
||||
2013/misaka/misaka.c
|
||||
2013/misaka/misaka.orig.c
|
||||
2013/misaka/spoiler.html
|
||||
@@ -2974,7 +2974,7 @@
|
||||
2019/karns/.id
|
||||
2019/karns/Makefile
|
||||
2019/karns/README.md
|
||||
2019/karns/demo.sh
|
||||
2019/karns/try.sh
|
||||
2019/karns/maze
|
||||
2019/karns/prog.c
|
||||
2019/karns/prog.orig.c
|
||||
|
||||
@@ -327,7 +327,7 @@
|
||||
1988/westley/1988_westley.tar.bz2
|
||||
1988/westley/Makefile
|
||||
1988/westley/README.md
|
||||
1988/westley/demo.sh
|
||||
1988/westley/try.sh
|
||||
1988/westley/index.html
|
||||
1988/westley/westley.alt.c
|
||||
1988/westley/westley.c
|
||||
@@ -617,7 +617,7 @@
|
||||
1991/fine/1991_fine.tar.bz2
|
||||
1991/fine/Makefile
|
||||
1991/fine/README.md
|
||||
1991/fine/demo.sh
|
||||
1991/fine/try.sh
|
||||
1991/fine/fine.c
|
||||
1991/fine/fine.orig.c
|
||||
1991/fine/index.html
|
||||
@@ -2882,7 +2882,7 @@
|
||||
2013/birken/boo.txt
|
||||
2013/birken/bub.txt
|
||||
2013/birken/cheepcheep.txt
|
||||
2013/birken/demo.sh
|
||||
2013/birken/try.sh
|
||||
2013/birken/format.txt
|
||||
2013/birken/gurin.txt
|
||||
2013/birken/happyface.txt
|
||||
@@ -2974,7 +2974,7 @@
|
||||
2013/dlowe/2013_dlowe.tar.bz2
|
||||
2013/dlowe/Makefile
|
||||
2013/dlowe/README.md
|
||||
2013/dlowe/demo.sh
|
||||
2013/dlowe/try.sh
|
||||
2013/dlowe/dlowe.c
|
||||
2013/dlowe/dlowe.orig.c
|
||||
2013/dlowe/fun.c
|
||||
@@ -3211,7 +3211,7 @@
|
||||
2013/misaka/Makefile
|
||||
2013/misaka/README.md
|
||||
2013/misaka/bf.pl
|
||||
2013/misaka/demo.sh
|
||||
2013/misaka/try.sh
|
||||
2013/misaka/index.html
|
||||
2013/misaka/misaka.c
|
||||
2013/misaka/misaka.orig.c
|
||||
@@ -3895,7 +3895,7 @@
|
||||
2019/karns/2019_karns.tar.bz2
|
||||
2019/karns/Makefile
|
||||
2019/karns/README.md
|
||||
2019/karns/demo.sh
|
||||
2019/karns/try.sh
|
||||
2019/karns/index.html
|
||||
2019/karns/maze
|
||||
2019/karns/prog.c
|
||||
|
||||
Reference in new issue
Block a user