aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>1995-06-04 01:34:39 +0000
committerPaul Eggert <[email protected]>1995-06-04 01:34:39 +0000
commita8a818c00e9cc73259aa3c519ba5fc34741c11ab (patch)
treea257d6b9ac4f6da6a4858e568223c798e8922096 /lib-src
parent9e4ecb261908eab14cf6a3c39209d6788eefadf2 (diff)
(output_authors): Allow ':' in time zone, as per ISO 8601 and RCS 5.6.8 beta.
Diffstat (limited to 'lib-src')
-rwxr-xr-xlib-src/rcs2log2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log
index 63c4b71ca8..3bcf5e9ace 100755
--- a/lib-src/rcs2log
+++ b/lib-src/rcs2log
@@ -285,7 +285,7 @@ $logins
EOF
esac
output_authors='/^date: / {
- if ($2 ~ /^[0-9]*[-\/][0-9][0-9][-\/][0-9][0-9]$/ && $3 ~ /^[0-9][0-9]:[0-9][0-9]:[0-9][0-9][-+0-9]*;$/ && $4 == "author:" && $5 ~ /^[^;]*;$/) {
+ if ($2 ~ /^[0-9]*[-\/][0-9][0-9][-\/][0-9][0-9]$/ && $3 ~ /^[0-9][0-9]:[0-9][0-9]:[0-9][0-9][-+0-9:]*;$/ && $4 == "author:" && $5 ~ /^[^;]*;$/) {
print substr($5, 1, length($5)-1)
}
}'