From 6ce71468abbf1346764a5e9c463e33a7cf4f31fc Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:07:24 -0700 Subject: [PATCH] Fix broken links in 2001/westley --- 2001/westley/README.md | 11 ++++++----- 2001/westley/index.html | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/2001/westley/README.md b/2001/westley/README.md index 8e83f048e..d5fb6cbd5 100644 --- a/2001/westley/README.md +++ b/2001/westley/README.md @@ -47,15 +47,16 @@ For more detailed information see [2001 westley bugs](../../bugs.html#2001_westl The author stated that one can sort (ignoring leading blanks i.e. `sort -b`) the code by line and it will always sort the order of the input. -This is compiled by default; use `westley.sort` as you would `westley` above. +This is generated and compiled by default; use `westley.sort` as you would +`westley` above. ## Punch card code: -The author also stated that if you just sort the code you'll get the with -`sort`) version that just prints out the punch card. The -[westley.punch.c](%%REPO_URL%%/2001/westley/westley.punch.c) code is specifically so that Westley can punch -everyone in the face! :-) This is also compiled by default. +The author also stated that if you just sort the code (`sort westley.c`) you'll +get a version that just prints out the punch card. The `westley.punch.c` +(generated by `make` via `sort westley.c`) code is specifically so that Westley +can punch everyone in the face! :-) This is also compiled by default. ### Punch card try: diff --git a/2001/westley/index.html b/2001/westley/index.html index 69e1cbeb3..d6e3c065d 100644 --- a/2001/westley/index.html +++ b/2001/westley/index.html @@ -419,12 +419,13 @@ code below.
The author stated that one can sort (ignoring leading blanks i.e. sort -b) the
code by line and it will always sort the order of the input.
This is compiled by default; use westley.sort as you would westley above.
This is generated and compiled by default; use westley.sort as you would
+westley above.
The author also stated that if you just sort the code you’ll get the with
-sort) version that just prints out the punch card. The
-westley.punch.c code is specifically so that Westley can punch
-everyone in the face! :-) This is also compiled by default.
The author also stated that if you just sort the code (sort westley.c) you’ll
+get a version that just prints out the punch card. The westley.punch.c
+(generated by make via sort westley.c) code is specifically so that Westley
+can punch everyone in the face! :-) This is also compiled by default.
echo 'Brian Westley does it again!' | ./westley.punch 2>/dev/null