diff options
author | Paul Eggert <eggert@twinsun.com> | 1995-06-04 01:34:39 +0000 |
---|---|---|
committer | Paul Eggert <eggert@twinsun.com> | 1995-06-04 01:34:39 +0000 |
commit | a8a818c00e9cc73259aa3c519ba5fc34741c11ab (patch) | |
tree | a257d6b9ac4f6da6a4858e568223c798e8922096 /lib-src/rcs2log | |
parent | 9e4ecb261908eab14cf6a3c39209d6788eefadf2 (diff) | |
download | emacs-a8a818c00e9cc73259aa3c519ba5fc34741c11ab.tar.gz |
(output_authors): Allow ':' in time zone, as per ISO 8601 and RCS 5.6.8 beta.
Diffstat (limited to 'lib-src/rcs2log')
-rwxr-xr-x | lib-src/rcs2log | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log index 63c4b71ca8c..3bcf5e9ace9 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) } }' |