Binary files 2.0.8/ws.sh/bin/lmt and 3.0.0/ws.sh/bin/lmt differ diff -urP 2.0.8/ws.sh/bin/mkws 3.0.0/ws.sh/bin/mkws --- 2.0.8/ws.sh/bin/mkws Wed Sep 2 19:51:51 2020 +++ 3.0.0/ws.sh/bin/mkws Sat Sep 5 22:34:17 2020 @@ -18,8 +18,8 @@ exit 1 fi -echo "Making theme.css" -pp "$sharedir"/theme.uppcss "$1" > theme.css +echo "Making s.css" +pp "$sharedir"/s.uppcss "$1" > s.css for t in "$srcdir"/*.upphtml do Only in 2.0.8/ws.sh/bin: stat diff -urP 2.0.8/ws.sh/share/l.upphtml 3.0.0/ws.sh/share/l.upphtml --- 2.0.8/ws.sh/share/l.upphtml Wed Sep 2 19:51:51 2020 +++ 3.0.0/ws.sh/share/l.upphtml Sat Sep 5 22:34:13 2020 @@ -10,7 +10,7 @@ +href=s.css?$(lmt -f '%Y-%m-%dT%H:%M:%SZ' s.css | cut -d' ' -f1)> Only in 2.0.8/ws.sh/share/man/man1: stat.1 diff -urP 2.0.8/ws.sh/share/man1 3.0.0/ws.sh/share/man1 --- 2.0.8/ws.sh/share/man1 Thu Jan 1 02:00:00 1970 +++ 3.0.0/ws.sh/share/man1 Sat Sep 5 22:34:17 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 diff -urP 2.0.8/ws.sh/share/s.uppcss 3.0.0/ws.sh/share/s.uppcss --- 2.0.8/ws.sh/share/s.uppcss Thu Jan 1 02:00:00 1970 +++ 3.0.0/ws.sh/share/s.uppcss Sat Sep 5 22:34:14 2020 @@ -0,0 +1 @@ + diff -urP 2.0.8/ws.sh/share/sitemap.uppxml 3.0.0/ws.sh/share/sitemap.uppxml --- 2.0.8/ws.sh/share/sitemap.uppxml Wed Sep 2 19:51:51 2020 +++ 3.0.0/ws.sh/share/sitemap.uppxml Sat Sep 5 22:34:13 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 #! Only in 2.0.8/ws.sh/share: theme.uppcss