Format/typo check 1993/plummer
This commit is contained in:
1 parent
0cc4ba7313
commit
eb07ccb84a
1 file changed
+16
-4
+16
-4
@@ -4,6 +4,8 @@
|
|||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
There is an [alternate version](#alternate-code) that lets you slow down the
|
||||||
|
output of the program for modern systems.
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
@@ -16,7 +18,6 @@ where:
|
|||||||
- number is a number (try 21701)
|
- number is a number (try 21701)
|
||||||
- arg is any argument
|
- arg is any argument
|
||||||
|
|
||||||
NOTE: an alternate version exists. See Alternate code section below.
|
|
||||||
|
|
||||||
|
|
||||||
### Try:
|
### Try:
|
||||||
@@ -29,14 +30,17 @@ NOTE: an alternate version exists. See Alternate code section below.
|
|||||||
|
|
||||||
## Alternate code:
|
## Alternate code:
|
||||||
|
|
||||||
To use:
|
This version sleeps in between writes for a compiled in constant microseconds
|
||||||
|
via `usleep(3)`, defaulting at 200.
|
||||||
|
|
||||||
|
|
||||||
|
### Alternate build:
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make alt
|
make alt
|
||||||
```
|
```
|
||||||
|
|
||||||
Use `plummer.alt` as you would `plummer`.
|
|
||||||
|
|
||||||
If you wish to change the time to sleep (default `200`) you can do so like:
|
If you wish to change the time to sleep (default `200`) you can do so like:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -44,6 +48,12 @@ make clobber CDEFINE="-DZ=50" alt
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Alternate use:
|
||||||
|
|
||||||
|
|
||||||
|
Use `plummer.alt` as you would `plummer`.
|
||||||
|
|
||||||
|
|
||||||
### Alternate try:
|
### Alternate try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -78,6 +88,8 @@ compilers) complain that there is no control path leading to a return from
|
|||||||
`main()`. At 125 characters, it still fits on a single line (for those of us
|
`main()`. At 125 characters, it still fits on a single line (for those of us
|
||||||
who don't mind ruining our eyes with 132 column screens).
|
who don't mind ruining our eyes with 132 column screens).
|
||||||
|
|
||||||
|
### Spoiler:
|
||||||
|
|
||||||
The first statement points the base of `l` (the argument vector) to
|
The first statement points the base of `l` (the argument vector) to
|
||||||
be the first argument by incrementing it. It then assigns `O` to
|
be the first argument by incrementing it. It then assigns `O` to
|
||||||
point to the character before the first character of the second
|
point to the character before the first character of the second
|
||||||
|
|||||||
Reference in new issue
Block a user