diff options
-rw-r--r-- | lib-src/=rcs2log | 2 | ||||
-rwxr-xr-x | lib-src/rcs2log | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/=rcs2log b/lib-src/=rcs2log index 63c4b71ca8c..3bcf5e9ace9 100644 --- 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) } }' 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) } }' |