# HG changeset patch # User Paul Eggert # Date 795921667 0 # Node ID 4d05376b5cb25a375756db2c79475bbd1aa19ef3 # Parent 03b481b6cec29adb8d8a086cd55ca0a86caf4db2 (output_authors): Replace /[/]/ by /[\/]/, for portability to mawk and nawk. diff -r 03b481b6cec2 -r 4d05376b5cb2 lib-src/=rcs2log --- a/lib-src/=rcs2log Wed Mar 22 21:31:08 1995 +0000 +++ b/lib-src/=rcs2log Thu Mar 23 01:21:07 1995 +0000 @@ -12,7 +12,7 @@ # Author: Paul Eggert -# $Id: rcs2log,v 1.19 1995/03/21 05:37:42 eggert Exp eggert $ +# $Id: rcs2log,v 1.20 1995/03/21 23:14:41 eggert Exp eggert $ # Copyright 1992, 1993, 1994, 1995 Free Software Foundation, Inc. @@ -273,7 +273,7 @@ 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 -r 03b481b6cec2 -r 4d05376b5cb2 lib-src/rcs2log --- a/lib-src/rcs2log Wed Mar 22 21:31:08 1995 +0000 +++ b/lib-src/rcs2log Thu Mar 23 01:21:07 1995 +0000 @@ -12,7 +12,7 @@ # Author: Paul Eggert -# $Id: rcs2log,v 1.19 1995/03/21 05:37:42 eggert Exp eggert $ +# $Id: rcs2log,v 1.20 1995/03/21 23:14:41 eggert Exp eggert $ # Copyright 1992, 1993, 1994, 1995 Free Software Foundation, Inc. @@ -273,7 +273,7 @@ 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) } }'