rewrite bin/tar-entry.sh

We rewrote the `bin/tar-entry.sh` algorithm so that we do NOT have
to require Linux to produce a compressed tarball that is byte-for-byte
identical to a macOS compressed tarball for the same entry.

Changed `bin/tar-entry.sh` VERSION from "1.2 2024-03-22"
to "1.3 2024-03-25".

Added `bin/untar-entry.sh` to untar an entry from the
compressed tarball.

Added `make untar_entry_tarball` to untar all entry files.

Added `make untar_year_tarball` and `make untar_all_tarball`
stub Makefile rules.  The core it referred to does not yet exist.

Updated IOCCC manifest.  Updated `.entry.json` for `2004/sds`.

Performed `make www` to update web pages.  In most cases the
entry `index.html` added an inventory link for the new `.tar.tstamp` file.

Performed `form_entry_tarball` to complete the test of the above.

TODO: Test the results under Linux.

TODO: Update `bin/tar-year.sh`.  Update year level compressed tarballs.

TODO: Update `bin/tar-all.sh`.  Update top level compressed tarball.

TODO: Write `bin/untar-year.sh` and `bin/untar-all.sh`.
This commit is contained in:
Landon Curt Noll committed 2024-03-25 22:44:34 -07:00
1 parent f3b5ff762f
commit 9f57052020
1003 files changed
+1376 -550

No files matched your search

+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
+1 -1
View File
@@ -1 +1 @@
1711177842
1711431283
Binary file not shown.
+1
View File
@@ -266,6 +266,7 @@ included in the font.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/anonymous/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/anonymous/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/anonymous/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177842
1711431283
Binary file not shown.
+1
View File
@@ -219,6 +219,7 @@ explorers out there.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/arachnid/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/arachnid/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/arachnid/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177842
1711431283
Binary file not shown.
+1
View File
@@ -221,6 +221,7 @@ statements such as <code>if</code>, <code>for</code>, <code>do</code>, <code>whi
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/burley/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/burley/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/burley/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177842
1711431283
Binary file not shown.
+1
View File
@@ -255,6 +255,7 @@ with no reserved words, and our world will be a better place.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavare/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavare/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavare/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177842
1711431283
Binary file not shown.
+1
View File
@@ -299,6 +299,7 @@ at which a Linux bootloader loads an x86 kernel image).</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavin/gavin.md">gavin.md</a> - markdown source for gavin.html</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavin/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavin/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+1
View File
@@ -315,6 +315,7 @@ paragraph 3 sentence 2, and so fails to display responses from
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/hibachi/src/localhost/test/shell/test1.sh">src/localhost/test/shell/test1.sh</a> - POSIX shell page support file</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/hibachi/src/localhost/test/shell/test2.sh">src/localhost/test/shell/test2.sh</a> - POSIX shell page support file</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/hibachi/src/makefile.in">src/makefile.in</a> - configure.in experiment that is not used</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/hibachi/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+1
View File
@@ -206,6 +206,7 @@ dashes rather than a simple block of <code>X</code>s.</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/hoyle/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/hoyle/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/hoyle/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+1
View File
@@ -333,6 +333,7 @@ type, a structure, a structure member, a macro parameter, and a variable.).</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/jdalbec/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/jdalbec/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/jdalbec/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+1
View File
@@ -319,6 +319,7 @@ comes from this. For additional obfuscation and conciseness, <code>if</code> mea
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/kopczynski/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/kopczynski/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/kopczynski/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+1
View File
@@ -203,6 +203,7 @@ Decryption is left as an exercise for the reader.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/newbern/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/newbern/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/newbern/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+1
View File
@@ -283,6 +283,7 @@ still fail…</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/omoikane/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/omoikane/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/omoikane/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+1
View File
@@ -275,6 +275,7 @@ royalties on this technique.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/schnitzi/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/schnitzi/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/schnitzi/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+8
View File
@@ -41,6 +41,14 @@
"display_via_github" : true,
"entry_text" : "how to run"
},
{
"file_path" : "README_sds.txt",
"inventory_order" : 200,
"OK_to_edit" : true,
"display_as" : "test",
"display_via_github" : true,
"entry_text" : "sample data used by try.sh"
},
{
"file_path" : "2004_sds.tar.bz2",
"inventory_order" : 100000,
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+8
View File
@@ -1,3 +1,11 @@
# NOT AN OFFICIAL README
NOTE: This is a copy of README.md as it was in 2024 Jan 15.
For the official README see [README.md](README.md) or
view [index.html](index.html).
## To build:
```sh
+2
View File
@@ -231,6 +231,7 @@ GNU C.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/sds/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/sds/sds.orig.c">sds.orig.c</a> - original source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/sds/try.sh">try.sh</a> - how to run</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/sds/README_sds.txt">README_sds.txt</a> - sample data used by try.sh</li>
<li><a href="2004_sds.tar.bz2">2004_sds.tar.bz2</a> - download entry source</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
@@ -240,6 +241,7 @@ GNU C.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/sds/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/sds/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/sds/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+1
View File
@@ -264,6 +264,7 @@ low) are <code>{ 0, RED, GREEN, BLUE }</code>.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/vik1/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/vik1/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/vik1/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
+1 -1
View File
@@ -1 +1 @@
1711177843
1711431284
Binary file not shown.
+1
View File
@@ -331,6 +331,7 @@ with 512Mb ram and a lot of disk.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/vik2/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/vik2/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/vik2/.tar.tstamp">.tar.tstamp</a> - timestamp of compressed tarball formation</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->