diff options
author | Chet Ramey <chet.ramey@case.edu> | 2021-04-01 17:25:48 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2021-04-01 17:25:48 -0400 |
commit | 8f485ff84c2d67593f8797ee10169f97163c7adb (patch) | |
tree | 12474d0f478ed458dcef8156c244286a03a26466 /tests/exp.right | |
parent | 65822e501190830edd0223cfa88576b7709177e8 (diff) | |
download | bash-8f485ff84c2d67593f8797ee10169f97163c7adb.tar.gz |
new readline "fetch-history" bindable command; declare -p output change
Diffstat (limited to 'tests/exp.right')
-rw-r--r-- | tests/exp.right | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/exp.right b/tests/exp.right index 4e88ca9b..c14db001 100644 --- a/tests/exp.right +++ b/tests/exp.right @@ -227,15 +227,16 @@ argv[2] = <Y> argv[1] = <XY^AY> argv[1] = <x^Ay^?z> argv[1] = <x^Ay^?z> -declare -- var="xyz" +declare -- var=$'x\001y\177z' argv[1] = <declare> argv[2] = <--> -argv[3] = <var="x^Ay^?z"> +argv[3] = <var=$'x\001y\177z'> +declare -- var=$'x\001y\177z'$ declare -- var="x\001y\177z"$ argv[1] = <$'x\001y\177z'> argv[1] = <x^Ay^?z> var=$'x\001y\177z' -./exp8.sub: line 29: xyz: syntax error: invalid arithmetic operator (error token is "z") +./exp8.sub: line 30: xyz: syntax error: invalid arithmetic operator (error token is "z") declare -a array=() declare -a array=([0]=$'x\001y\177z') argv[1] = <x^Ay^?z> |