changeset 1:b071cc318d10 default tip

long ago
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 28 Aug 2025 10:51:05 +0100
parents fdd3f8a16fd4
children
files bin/warc.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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