diff bin/clm.sh @ 125:cd927e5c133f

extract Last Modified via cdx
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 28 Jun 2021 21:50:30 +0000
parents
children 5efc3985d513
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/clm.sh	Mon Jun 28 21:50:30 2021 +0000
@@ -0,0 +1,3 @@
+#!/usr/bin/bash
+{ egrep '^Last-Modified: ' || echo ; } | cut -f 2- -d ' ' >> "$1"
+