convert spoiler filenames into deobfuscation filenames

This commit is contained in:
Landon Curt Noll committed 2024-07-01 01:02:40 -07:00
1 parent 3aec80f057
commit 85c991620f
94 files changed
+361 -363

No files matched your search

+2 -2
View File
@@ -42,12 +42,12 @@
"entry_text" : "script to try entry"
},
{
"file_path" : "spoiler.html",
"file_path" : "deobfuscation.html",
"inventory_order" : 200,
"OK_to_edit" : true,
"display_as" : "html",
"display_via_github" : false,
"entry_text" : "spoiler web page"
"entry_text" : "Deobfuscation information web page"
},
{
"file_path" : "2018_yang.tar.bz2",
+13 -13
View File
@@ -112,7 +112,7 @@ PROG= prog
#
OBJ= ${PROG}.o
CSRC= ${PROG}.o
DATA= spoiler.html
DATA= deobfuscation.html
TARGET= left right shift msg0 msg1 msg2
#
ALT_OBJ=
@@ -169,17 +169,17 @@ generated5.c: ${PROG}.c right shift
@${RM} -f $@
./shift < $< | ./right > $@
############
# spoilers #
############
#################
# deobfuscation #
#################
spoiler: spoilers
deobfuscation: deobfuscations
spoilers:
@echo "Really show spoilers? Please build this target to confirm:"
@echo " i_give_up_show_me_the_spoilers"
deobfuscations:
@echo "Really show deobfuscation information? Please build this target to confirm:"
@echo " i_give_up_show_me_the_deobfuscation"
i_give_up_show_me_the_spoilers: msg3 msg4 msg5 msg6 msg7 msg8 msg9
i_give_up_show_me_the_deobfuscation: msg3 msg4 msg5 msg6 msg7 msg8 msg9
msg3: generated6.c
$(CC) $(CFLAGS) $< -o $@
@@ -229,11 +229,11 @@ generated11.c: generated10.c right shift
generated12.c: msg7
./msg7 > $@
####################################
# spoilers for the truly_impatient #
####################################
#########################################
# deobfuscation for the truly_impatient #
#########################################
spoiler_for_the_truly_impatient: i_just_want_to_see_the_final_message
deobfuscation_for_the_truly_impatient: i_just_want_to_see_the_final_message
i_just_want_to_see_the_final_message: msg11.txt
@${CAT} $<
+1 -1
View File
@@ -143,7 +143,7 @@ but not limited to the "1125" at line 4 as opposed to "1025", to satisfy
- CRC32 of the code is embedded in the code itself.
- Process for writing [prog.c](%%REPO_URL%%/2018/yang/prog.c) is available in
[spoiler.html](spoiler.html).
[deobfuscation.html](deobfuscation.html).
### Compatibility:
File renamed without changes.
+2 -2
View File
@@ -487,7 +487,7 @@ but not limited to the “1125” at line 4 as opposed to “1025”, to satisfy
<code>-Waggresive-loop-optimizations</code>.</p></li>
<li><p>CRC32 of the code is embedded in the code itself.</p></li>
<li><p>Process for writing <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/yang/prog.c">prog.c</a> is available in
<a href="spoiler.html">spoiler.html</a>.</p></li>
<a href="deobfuscation.html">deobfuscation.html</a>.</p></li>
</ul>
<h3 id="compatibility">Compatibility:</h3>
<p><code>Nuko</code> and the rotated tools accept only ASCII files where each
@@ -538,7 +538,7 @@ will look weird after rotation, for example.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/yang/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/yang/prog.orig.c">prog.orig.c</a> - original source code</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/yang/try.sh">try.sh</a> - script to try entry</li>
<li><a href="spoiler.html">spoiler.html</a> - spoiler web page</li>
<li><a href="deobfuscation.html">deobfuscation.html</a> - Deobfuscation information web page</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
+5 -5
View File
@@ -62,13 +62,13 @@ read -r -n 1 -p "Press any key to run: ./msg2: "
echo 1>&2
./msg2
read -r -p "Do you wish to see some of the spoilers (Y/N)? "
read -r -p "Do you wish to see some of the deobfuscation information (Y/N)? "
if [[ "$REPLY" == "Y" || "$REPLY" == "y" ]]; then
echo "$ make spoilers" 1>&2
make spoilers
echo "$ make deobfuscations" 1>&2
make deobfuscations
rm -f generated*.c msg*.c
echo "$ make i_give_up_show_me_the_spoilers"
make i_give_up_show_me_the_spoilers
echo "$ make i_give_up_show_me_the_deobfuscation"
make i_give_up_show_me_the_deobfuscation
echo 1>&2
for i in 0 1 2 3 4 5 6 7 8; do
read -r -n 1 -p "Press any key to run: ./msg$i: "