Merge pull request #1318 from xexyl/1992-buzzard1-try
This commit is contained in:
3 files changed
+23
-4
No files matched your search
@@ -16,9 +16,7 @@ make all
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./buzzard.1 0 10
|
||||
./buzzard.1 56 720
|
||||
./buzzard.1 1 521
|
||||
./try.sh
|
||||
```
|
||||
|
||||
|
||||
@@ -45,9 +43,10 @@ What you shouldn't think about `buzzard.1`:
|
||||
|
||||
I didn't just submit the post-C-preprocessed output as an entry.
|
||||
|
||||
|
||||
#### Cute trick warning
|
||||
|
||||
`buzzard.1` contains only a numeric printf, yet sometimes it prints out
|
||||
`buzzard.1` contains only a numeric `printf(3)`, yet sometimes it prints out
|
||||
short strings.
|
||||
|
||||
|
||||
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
make all >/dev/null || exit 1
|
||||
|
||||
echo "$ ./buzzard.1 0 10" 1>&2
|
||||
./buzzard.1 0 10
|
||||
echo "$ ./buzzard.1 56 720" 1>&2
|
||||
./buzzard.1 56 720
|
||||
echo "$ ./buzzard.1 1 521" 1>&2
|
||||
./buzzard.1 1 521
|
||||
|
||||
echo "$ ./buzzard.1 '1+1' 111" 1>&2
|
||||
./buzzard.1 '1+1' 111
|
||||
echo "$ ./buzzard.1 '1+1' 11" 1>&2
|
||||
./buzzard.1 '1+1' 11
|
||||
echo "$ ./buzzard.1 '1+1' 1" 1>&2
|
||||
./buzzard.1 '1+1' 1
|
||||
@@ -1411,6 +1411,9 @@ necessary to include `time.h` so Cody did this as well.
|
||||
Cody added a check for the right number of args, exiting 1 if not enough (2)
|
||||
used.
|
||||
|
||||
He also added the [try.sh](1991/buzzard.1/try.sh) script to try out some
|
||||
commands that we suggested and some additional ones that provide for some fun.
|
||||
|
||||
|
||||
## [1992/gson](1992/gson/gson.c) ([README.md](1992/gson/README.md]))
|
||||
|
||||
|
||||
Reference in new issue
Block a user