diff options
author | obrien <obrien@FreeBSD.org> | 2001-11-03 01:35:07 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-11-03 01:35:07 +0000 |
commit | 9bd91d26bea7f37f53f546cb36b97212367b2b6d (patch) | |
tree | d7b7a22ece436b38c19bb2357888537317145d7a /sys/boot | |
parent | 8e8327cb31c33403af87ab81fe7f799889901963 (diff) | |
download | FreeBSD-src-9bd91d26bea7f37f53f546cb36b97212367b2b6d.zip FreeBSD-src-9bd91d26bea7f37f53f546cb36b97212367b2b6d.tar.gz |
Revert rev 1.3 which moved us away from POSIX character classes.
The community feels our base AWK must handle them.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/common/merge_help.awk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/common/merge_help.awk b/sys/boot/common/merge_help.awk index 103a228..9741ed3 100644 --- a/sys/boot/common/merge_help.awk +++ b/sys/boot/common/merge_help.awk @@ -20,13 +20,13 @@ BEGIN \ } # entry header -/^# T[\x21-\x7e]+ (S[\x21-\x7e]+ )*D[\x21-\x7e][\x20-\x7e]*$/ && (state == 1) \ +/^# T[[:graph:]]+ (S[[:graph:]]+ )*D[[:graph:]][[:print:]]*$/ && (state == 1) \ { - match($0, " T[\x21-\x7e]+"); + match($0, " T[[:graph:]]+"); T = substr($0, RSTART + 2, RLENGTH - 2); - match($0, " S[\x21-\x7e]+"); + match($0, " S[[:graph:]]+"); S = (RLENGTH == -1) ? "" : substr($0, RSTART + 2, RLENGTH - 2); - match($0, " D[\x21-\x7e][\x20-\x7e]*$"); + match($0, " D[[:graph:]][[:print:]]*$"); D = substr($0, RSTART + 2); # find a suitable place to store this one... |