]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use \{...\} in test RE, to test that we're conforming to POSIX.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Apr 2006 07:17:26 +0000 (07:17 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Apr 2006 07:17:26 +0000 (07:17 +0000)
tests/misc/csplit

index 740df9e2e475ee2c27d13eb97b78423eae6b430d..81a98afa52a8ba1a062afcbabe012b9099efbe9b 100755 (executable)
@@ -92,7 +92,7 @@ test $fail = 1 && diff err experr 2> /dev/null
 # in 5.3.1.
 rm -f in out exp err experr xx??
 printf 'x%8199s\nx\n%8199s\nx\n' x x > in
-csplit in '/x/' '{*}' > /dev/null || fail=1
+csplit in '/x\{1\}/' '{*}' > /dev/null || fail=1
 cat xx?? | cmp - in || fail=1
 
 (exit $fail); exit $fail