Mass typo fixes
This is a HUGE commit:
417 files changed, 874 insertions(+), 874 deletions(-)
As the IOCCC website now is https enabled I have updated the
'http://www.ioccc' to 'https://www.ioccc'.
There was also a typo in Makefiles where it said 'for VERY WELCOME' when
it should be 'are VERY WELCOME'.
Finally slashdot.org is also https enabled so references to
'http://slashdot' were changed to 'https://slashdot'.
This was done by my sgit tool (see https://github.com/xexyl/sgit)
like:
sgit -e 's,http://www.ioccc,https://www.ioccc,g' -e 's/for VERY WELCOME/are VERY WELCOME/g' -e .
but because I didn't have a list of files that should be modified I had
to be careful which files to commit as I had files that were changed but
not ready to be committed. Since I did it in steps, finding typos as I
went along, I actually ran sgit three times but to simplify the above
(and to show that it's possible to do more than one sed command) I made
it all as one. Since I did not have a list of files ahead of time I had
to determine what files to commit, first going through them like:
for j in $(for i in $(git status|grep modified|cut -d: -f2); do \
git grep 'https://www.ioccc' "$i"; done|cut -d: -f1|sort|uniq); \
do git diff "$j"; done|less -r
(I had to pipe through less because of a strange problem with the git
diff which appears to be because of a terminal problem maybe due to the
command above but it was all I could come up with in a very tired head.)
The above and
git status | grep modified:
showed that some C files had been modified which obviously should not be
done so I had to do:
git co '*c'
to undo those changes.
Finally to commit the correct files I did:
for i in $(git status|grep modified|cut -d: -f2); do \
git grep -E 'https://www.ioccc|https://slashdot|are VERY WELCOME' "$i"; \
done |cut -d: -f1|sort|uniq|xargs git commit -v
or so (with any formatting issues or typos here due to typos in the log
due to the terminal (in)sanity issue described).
This commit is contained in:
1 parent
c06a1b6e83
commit
ef456bfb1e
417 files changed
+874
-874
No files matched your search
+2
-2
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -37,7 +37,7 @@ man ./tac.man
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
They say size isn't everything, and in the case of IOCCC [iocccsize.c](http://www.ioccc.org/2018/iocccsize.c)
|
||||
They say size isn't everything, and in the case of IOCCC [iocccsize.c](https://www.ioccc.org/2018/iocccsize.c)
|
||||
that is saying something! What is this program weighing and how much does it weigh?
|
||||
|
||||
## Author's remarks:
|
||||
@@ -167,10 +167,10 @@ determine which tool was correct when there were differences.
|
||||
> Nevertheless, the more clearly written code remains a spoiler for this entry.
|
||||
|
||||
NB: `iocccsize` gets a different answer from `tac` on its own
|
||||
([iocccsize.c]([iocccsize.c](http://www.ioccc.org/2018/iocccsize.c)) source code;
|
||||
([iocccsize.c]([iocccsize.c](https://www.ioccc.org/2018/iocccsize.c)) source code;
|
||||
`tac` gets the correct answer. This is due to the aforementioned bugs within `iocccsize`,
|
||||
proved by fixing
|
||||
[iocccsize.c](http://www.ioccc.org/2018/iocccsize.c) with the included patch, so `iocccsize` reports
|
||||
[iocccsize.c](https://www.ioccc.org/2018/iocccsize.c) with the included patch, so `iocccsize` reports
|
||||
the correct answer for itself.
|
||||
|
||||
### But wait... There's More!
|
||||
@@ -293,7 +293,7 @@ sed 's/^# .*$//' | sed 's/^#//' |
|
||||
* The code describes its function by careful arrangement of variables up front...
|
||||
* ...coupled with a description of the typical IOCCC contestant, or at least the author
|
||||
* Why shouldn't trigraph parsing be written in trigraph?
|
||||
* Where [iocccsize.c](http://www.ioccc.org/2018/iocccsize.c) mocks, this code flaunts:
|
||||
* Where [iocccsize.c](https://www.ioccc.org/2018/iocccsize.c) mocks, this code flaunts:
|
||||
"_no matter how well you may think you understand this code, you don't, so don't mess with it. :-)_"
|
||||
* `O,0,l,1` are used to confusing effect, local names obscure global names.
|
||||
* Globals are used to pass information between routines: don't reorder "unrelated" statements....
|
||||
@@ -336,7 +336,7 @@ The following reserved word files are included:
|
||||
ioccc.kw.freq c11 + additional words, sorted on frequency of occurrence in ioccc winners
|
||||
|
||||
|
||||
NB: The keyword file used in this code is derived from the list in [iocccsize.c](http://www.ioccc.org/2018/iocccsize.c),
|
||||
NB: The keyword file used in this code is derived from the list in [iocccsize.c](https://www.ioccc.org/2018/iocccsize.c),
|
||||
which is neither complete (`#define`, `#ifndef`, `#undef` are missing
|
||||
-- yes, Virginia knows about `#define` omitted on purpose),
|
||||
nor correct (many more are added: `I`, `true`, `bool`, `compl`, ...):
|
||||
|
||||
+2
-2
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
+2
-2
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
+7
-7
@@ -55,7 +55,7 @@ End of important 2023 update to this historic note.
|
||||
|
||||
While we try to post use news at:
|
||||
|
||||
http://www.ioccc.org/index.html#news
|
||||
https://www.ioccc.org/index.html#news
|
||||
|
||||
such postings may be delayed or obscured by slow to respond mirrors.
|
||||
|
||||
@@ -87,7 +87,7 @@ End of important 2023 update to this historic note.
|
||||
on the official IOCCC web site on or slightly before start of this IOCCC.
|
||||
Please check the IOCCC web site "How to enter" link:
|
||||
|
||||
http://www.ioccc.org/index.html#enter
|
||||
https://www.ioccc.org/index.html#enter
|
||||
|
||||
on or after the start of this IOCCC to be sure you are using the correct
|
||||
versions of these items before using the IOCCC entry submission URL.
|
||||
@@ -169,7 +169,7 @@ HINTS AND SUGGESTIONS:
|
||||
Rule 2 (the size rule) has been changed. In particular rule 2 refers to
|
||||
the use of an IOCCC size tool. The source for this tool is found at:
|
||||
|
||||
| http://www.ioccc.org/2018/iocccsize.c
|
||||
| https://www.ioccc.org/2018/iocccsize.c
|
||||
|
||||
| To further clarify rule 2, we subdivided it into two parts, 2a and 2b.
|
||||
| Your entry must satisfy both the maximum size rule 2a AND your entry
|
||||
@@ -920,11 +920,11 @@ End of important 2023 update to this historic note.
|
||||
of their award, and a very brief description of the winning entry
|
||||
on the IOCCC web site:
|
||||
|
||||
http://www.ioccc.org/whowon.html
|
||||
https://www.ioccc.org/whowon.html
|
||||
|
||||
We will also attempt to submit a brief announcement story to /.:
|
||||
|
||||
http://slashdot.org
|
||||
https://slashdot.org
|
||||
|
||||
that, depending on the willingness of the /. editors, may be posted
|
||||
to their site at the same time.
|
||||
@@ -937,7 +937,7 @@ End of important 2023 update to this historic note.
|
||||
by the winners has been completed, the winning source will be
|
||||
posted to the IOCCC web site:
|
||||
|
||||
http://www.ioccc.org/years.html
|
||||
https://www.ioccc.org/years.html
|
||||
|
||||
NOTE: previous winners are available at that URL
|
||||
|
||||
@@ -991,7 +991,7 @@ FOR MORE INFORMATION:
|
||||
|
||||
Check out the IOCCC Web page:
|
||||
|
||||
http://www.ioccc.org
|
||||
https://www.ioccc.org
|
||||
|
||||
It has rules, guidelines and winners of previous contests (1984 to date).
|
||||
|
||||
|
||||
+2
-2
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
+2
-2
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
+3
-3
@@ -48,7 +48,7 @@ GOALS OF THE CONTEST:
|
||||
on the official IOCCC web site on or slightly before start of this IOCCC.
|
||||
Please check the IOCCC web site "How to enter" link:
|
||||
|
||||
http://www.ioccc.org/index.html#enter
|
||||
https://www.ioccc.org/index.html#enter
|
||||
|
||||
on or after the start of this IOCCC to be sure you are using the correct
|
||||
versions of these items before using the IOCCC entry submission URL.
|
||||
@@ -70,7 +70,7 @@ RULES:
|
||||
|
||||
The source to the current IOCCC size tool is found at this URL:
|
||||
|
||||
| http://www.ioccc.org/2018/iocccsize.c
|
||||
| https://www.ioccc.org/2018/iocccsize.c
|
||||
|
||||
3) Submissions should be performed using the instructions outlined at:
|
||||
|
||||
@@ -253,7 +253,7 @@ FOR MORE INFORMATION:
|
||||
year. You should be sure you have the current rules and guidelines
|
||||
prior to submitting entries. To obtain them, visit the IOCCC web page:
|
||||
|
||||
http://www.ioccc.org
|
||||
https://www.ioccc.org
|
||||
|
||||
It has rules, guidelines and winners of previous contests (1984 to date).
|
||||
|
||||
|
||||
+2
-2
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
+2
-2
@@ -7,10 +7,10 @@
|
||||
# IOCCC winning entry code may not work on your system. What was liked/allowed
|
||||
# and worked in the past may no longer be the liked/allowed or compile/run today.
|
||||
#
|
||||
# Bug fixes, corrections and typo fixes for VERY WELCOME. If you see a problem,
|
||||
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
|
||||
# first check this URL for a list of known bugs and (mis)features of IOCCC winners:
|
||||
#
|
||||
# http://www.ioccc.org/bugs.md
|
||||
# https://www.ioccc.org/bugs.md
|
||||
#
|
||||
# GitHub pull requests are welcome! Please see the above URL for details.
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user