sed: fix nested {} case
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -253,4 +253,9 @@ testing "sed c" \
|
||||
"repl\nrepl\n" "" \
|
||||
"first\nsecond\n"
|
||||
|
||||
testing "sed nested {}s" \
|
||||
"sed '/asd/ { p; /s/ { s/s/c/ }; p; q }'" \
|
||||
"qwe\nasd\nacd\nacd\n" "" \
|
||||
"qwe\nasd\nzxc\n"
|
||||
|
||||
exit $FAILCOUNT
|
||||
|
Reference in New Issue
Block a user