document new readline variables "active-region-start-color" and "active-region-end-color"

This commit is contained in:
Chet Ramey
2022-02-11 09:12:39 -05:00
parent d70b53393e
commit bf09dfc08d
22 changed files with 283 additions and 70 deletions
+10
View File
@@ -68,3 +68,13 @@ argv[1] = <^?>
\q
foo
./nquote4.sub: line 6: quux: command not found
argv[1] = <a^A)b>
argv[1] = <a^Ab>
argv[1] = <^A>
argv[1] = <\^A>
0000000 a $ ' \ 0 1 ' b \n a 001 b \n
0000015
0000000 a $ ' \ 0 1 ' b \n a 001 b \n
0000015
0000000 A \n A \n
0000004
+1
View File
@@ -139,3 +139,4 @@ ${THIS_SH} ./nquote1.sub
${THIS_SH} ./nquote2.sub
${THIS_SH} ./nquote3.sub
${THIS_SH} ./nquote4.sub
${THIS_SH} ./nquote5.sub
+22
View File
@@ -0,0 +1,22 @@
recho $( echo a$'\01)'b )
recho $( echo ab )
recho $( echo \ )
recho $( echo \\ )
LC_CTYPE=C
od -c <<EOF
a$'\01'b
ab
EOF
od -c <<EOF
${none-a$'\01'b}
${none-ab}
EOF
V=Aa$'\01'b
od -c <<EOF
${V%a$'\01'b}
${V%ab}
EOF