diff options
| author | Paul Eggert | 1993-05-03 17:55:22 +0000 |
|---|---|---|
| committer | Paul Eggert | 1993-05-03 17:55:22 +0000 |
| commit | 566dd94e419f65334295ff1e152e0c17408ee11e (patch) | |
| tree | a69f419bbcb1fc777dfe9cb1d89a06c258196e8f /lib-src | |
| parent | af6a9de97dc8c95411bf2a5978da6cee0d4fdeb5 (diff) | |
| download | emacs-566dd94e419f65334295ff1e152e0c17408ee11e.tar.gz emacs-566dd94e419f65334295ff1e152e0c17408ee11e.zip | |
mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on /[/]/, so change
it to /[\/]/. This should work on all Posix-compliant awks.
It's slightly wrong with traditional (Unix version 7) awk, since it
also allows \, but that's a minor problem compared to awk syntax errors.
Diffstat (limited to 'lib-src')
| -rwxr-xr-x | lib-src/rcs2log | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log index c61ca42d7ea..65c7a5c6d37 100755 --- a/lib-src/rcs2log +++ b/lib-src/rcs2log | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | # Author: Paul Eggert <eggert@twinsun.com> | 13 | # Author: Paul Eggert <eggert@twinsun.com> |
| 14 | 14 | ||
| 15 | # $Id: rcs2log,v 1.9 1993/01/15 05:33:29 eggert Exp $ | 15 | # $Id: rcs2log,v 1.10 1993/03/16 22:49:00 eggert Exp eggert $ |
| 16 | 16 | ||
| 17 | # Copyright 1992, 1993 Free Software Foundation, Inc. | 17 | # Copyright 1992, 1993 Free Software Foundation, Inc. |
| 18 | 18 | ||
| @@ -223,7 +223,7 @@ awk <$rlogout ' | |||
| 223 | /^Working file:/ { filename = $3 } | 223 | /^Working file:/ { filename = $3 } |
| 224 | /^date: /, /^(-----------*|===========*)$/ { | 224 | /^date: /, /^(-----------*|===========*)$/ { |
| 225 | if ($0 ~ /^branches: /) { next } | 225 | if ($0 ~ /^branches: /) { next } |
| 226 | if ($0 ~ /^date: [0-9][ /0-9:]*;/) { | 226 | if ($0 ~ /^date: [0-9][ \/0-9:]*;/) { |
| 227 | time = substr($3, 1, length($3)-1) | 227 | time = substr($3, 1, length($3)-1) |
| 228 | author = substr($5, 1, length($5)-1) | 228 | author = substr($5, 1, length($5)-1) |
| 229 | printf "%s %s %s %s %c", filename, $2, time, author, 13 | 229 | printf "%s %s %s %s %c", filename, $2, time, author, 13 |