# HG changeset patch # User Henry S. Thompson # Date 1756374665 -3600 # Node ID b071cc318d10740972f248a52d5374d863e6a05c # Parent fdd3f8a16fd476a0f12418d1d531728c0ed2aa89 long ago diff -r fdd3f8a16fd4 -r b071cc318d10 bin/warc.sh --- a/bin/warc.sh Sat Mar 14 11:00:58 2020 +0000 +++ b/bin/warc.sh Thu Aug 28 10:51:05 2025 +0100 @@ -1,6 +1,6 @@ #!/bin/bash # Try to fillet warc payloads with just a shell script -# Usage warc.sh outfilePrefix [-n startnum] +# Usage warc.sh outfilePrefix [-n startnum] [content-type] LANG=C # count bytes LC_ALL=C # count bytes @@ -60,7 +60,7 @@ return fi if [ "$xl" ]; then - bl=$xl + bl=$xl # This is wrong, I now think, xl is the zipped length xx=x else unset xx