From e6e482054de77f3fe5d65344da86065373cf5f23 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 25 Nov 2023 14:57:19 -0500 Subject: Deprecate '-p' flag and replace backslash interpolation with curly brace interpolation --- tests/22-replace.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/22-replace.sh') diff --git a/tests/22-replace.sh b/tests/22-replace.sh index cd48850..451be8f 100644 --- a/tests/22-replace.sh +++ b/tests/22-replace.sh @@ -1,3 +1,3 @@ # Replacements can be done with pat => "replacement" -# Example: bp -p '"foo" => "baz"' matches "foobar" and replaces it with "bazbar" -bp -p '"s" => "$"' +# Example: bp '{"foo" => "baz"}' matches "foobar" and replaces it with "bazbar" +bp '{"s" => "$"}' -- cgit v1.2.3