diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-11-03 01:35:07 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-11-03 01:35:07 +0000 |
commit | 5daeec14544f55ace3410e994eb50a32a5bd06b9 (patch) | |
tree | d7b7a22ece436b38c19bb2357888537317145d7a /sys/boot | |
parent | 09a4374e6da4f22a8ac4df5654bb9ab9075863ed (diff) | |
download | src-5daeec14544f55ace3410e994eb50a32a5bd06b9.tar.gz src-5daeec14544f55ace3410e994eb50a32a5bd06b9.zip |
Revert rev 1.3 which moved us away from POSIX character classes.
The community feels our base AWK must handle them.
Notes
Notes:
svn path=/head/; revision=85935
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 103a228b8c43..9741ed3663e4 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... |