Format fix + add try in 2000/briddlebane

Suggest that one runs this from .bashrc or equivalent files for some
good fun on log in. :-)
This commit is contained in:
Cody Boone Ferguson committed 2023-04-19 12:48:51 -07:00
1 parent acdb26d5c4
commit 77cb6b6030
1 file changed
+13 -13
+13 -13
View File
@@ -1,12 +1,12 @@
# Best Abuse of User # Best Abuse of User
Moxen N. Briddlebane Moxen N. Briddlebane
24 Oxtree Ave. 24 Oxtree Ave.
The Xoemn, MN 68214 The Xoemn, MN 68214
Lord Zarbon Lord Zarbon
24 Oxtree Ave. 24 Oxtree Ave.
The Xoemn, MN 68214 The Xoemn, MN 68214
## To build: ## To build:
@@ -22,9 +22,9 @@ make
## Try: ## Try:
```sh For some fun every time you log in try running this from your `.bashrc` or
echo "Do or do not. There is no try." equivalent file!
```
## Judges' remarks: ## Judges' remarks:
@@ -37,11 +37,11 @@ Can you find out how it stores the insult strings? Can you then take
an insult and figure out when it will be uttered? an insult and figure out when it will be uttered?
[sc] The code also contains a buffer overflow bug which I have fixed! [sc] The code also contains a buffer overflow bug which I have fixed!
The array size of "s" should be 1079 characters long. (From 0 to 1078 The array size of `s` should be 1079 characters long. (From 0 to 1078
inclusive!). Without this it results in an error in the encoding of inclusive!). Without this it results in an error in the encoding of
"decrepit" -- For a 32bit little endian machine using GCC (because of "decrepit" -- For a 32bit little endian machine using GCC (because of
the way it assigns variables to memory) it will terminate "decrepit" the way it assigns variables to memory) it will terminate "decrepit"
with the character '\200' (the last value of F) instead of '\0'. with the character `'\200'` (the last value of `F`) instead of `'\0'`.
## Author's remarks: ## Author's remarks:
@@ -60,8 +60,8 @@ mechanics of programming. What is particularly disturbing is
the curious method of insult-encoding employed by this program. the curious method of insult-encoding employed by this program.
Furthermore, it is ambiguous how said data is arranged and why Furthermore, it is ambiguous how said data is arranged and why
it is necessary to resort to trigonometric functions to handle it is necessary to resort to trigonometric functions to handle
it. One of the real mysteries involves the numbers "114" and it. One of the real mysteries involves the numbers `114` and
"2", which are, according to Lord Zarbon, very deliberate. `2`, which are, according to Lord Zarbon, very deliberate.
## Copyright and CC BY-SA 4.0 License: ## Copyright and CC BY-SA 4.0 License: