diff -urP 3.0.8/ws.sh/bin/mkws 4.0.0/ws.sh/bin/mkws --- 3.0.8/ws.sh/bin/mkws Sat Sep 5 20:19:52 2020 +++ 4.0.0/ws.sh/bin/mkws Wed Sep 9 19:29:43 2020 @@ -30,6 +30,3 @@ echo "Making sitemap.xml" pp "$sharedir"/sitemap.uppxml "$1" > sitemap.xml - -echo "Making robots.txt" -pp "$sharedir"/robots.upptxt "$1" > robots.txt diff -urP 3.0.8/ws.sh/share/man/man1/lmt.1 4.0.0/ws.sh/share/man/man1/lmt.1 --- 3.0.8/ws.sh/share/man/man1/lmt.1 Thu Jan 1 02:00:00 1970 +++ 4.0.0/ws.sh/share/man/man1/lmt.1 Wed Sep 9 19:29:43 2020 @@ -0,0 +1,55 @@ +.Dd Sep 4, 2020 +.Dt lmt +.Os +.Sh NAME +.Nm lmt +.Nd last modification time +.Sh SYNOPSIS +.Nm lmt +.Op Fl f Ar format +.Ar file ... +.Sh DESCRIPTION +The +.Nm +utility prints the last modification time for the given +.Ar file +to standard output. +The information displayed is obtained by calling +.Xr lstat 2 +with the given +argument and evaluating the returned structure. +.Pp +The options are as follows: +.Bl -tag -width Ds +.It Fl f Ar format +The format in which to display the time. +The format string may contain any of the conversion specifications +described in the +.Xr strftime 3 +manual page, as well as any arbitrary text. +A newline +.Pq Ql \en +character is always output after the characters specified by +the format string. +The format string for the default display is: +.Bd -literal -offset indent +%a %b %e %H:%M:%S %Z %Y +.Ed +.El +.Sh EXIT STATUS +.Ex -std +.Sh EXAMPLES +Print last modification time for +.Pa file1 +to standard output: +.Pp +.Dl $ lmt file1 +.Pp +Print last modification time for +.Pa file1 +to standard output in ISO 8601 format: +.Pp +.Dl $ lmt -f "%Y-%m-%dT%H:%M:%S%z" file1 +.Sh SEE ALSO +.Xr stat 1 +.Xr strftime 3 Only in 3.0.8/ws.sh/share: man1 Only in 3.0.8/ws.sh/share: robots.upptxt diff -urP 3.0.8/ws.sh/share/sitemap.uppxml 4.0.0/ws.sh/share/sitemap.uppxml --- 3.0.8/ws.sh/share/sitemap.uppxml Sat Sep 5 20:19:49 2020 +++ 4.0.0/ws.sh/share/sitemap.uppxml Wed Sep 9 19:29:39 2020 @@ -6,7 +6,7 @@ #! $1/$(basename "$f") - $(stat -f '%Sm' -t '%Y-%m-%dT%H:%M:%SZ' "$f") + $(lmt -f '%Y-%m-%dT%H:%M:%SZ' "$f" | cut -d' ' -f1) 1.0 #!