aboutsummaryrefslogtreecommitdiffstats
path: root/test/localenl.sh
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-12-13 20:21:22 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-12-13 20:21:22 +0200
commit74b4f4e5a35f07bc17092e8c9ee01ba77cc8175d (patch)
treeccc7771b3c2f4c8730174b89b5f57db62e55bc04 /test/localenl.sh
parenta7a9cbdc136cb0f5cb67b94fb76dc3b6a9ca6c62 (diff)
downloadegawk-74b4f4e5a35f07bc17092e8c9ee01ba77cc8175d.tar.gz
egawk-74b4f4e5a35f07bc17092e8c9ee01ba77cc8175d.tar.bz2
egawk-74b4f4e5a35f07bc17092e8c9ee01ba77cc8175d.zip
Expand ranges before compiling the regexp.
Diffstat (limited to 'test/localenl.sh')
-rwxr-xr-xtest/localenl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/localenl.sh b/test/localenl.sh
index ec1ad31c..ca3ee64e 100755
--- a/test/localenl.sh
+++ b/test/localenl.sh
@@ -50,7 +50,7 @@ line7
line8
line9
EOF
-$AWK '
+$AWK --posix '
BEGIN { RS="\0"; }
{
if (match($0, /\n[^2\n]*2/)) { got2=1; } else { print "no match 2"; }