small changes to some error messages; greatly expanded builtins tests

This commit is contained in:
Chet Ramey
2023-09-28 10:47:17 -04:00
parent b3958b3ab4
commit 00edd0ee50
71 changed files with 1330 additions and 179 deletions
+4
View File
@@ -60,6 +60,10 @@ printf "%s" "$vv"
printf -v vv "%q\n" 'this&that'
printf "%s" "$vv"
# altform with %q will force single-quoting
printf -v vv '%#q\n' no-quotes-needed 'quotes;needed'
printf "%s" "$vv"
# make sure the format string is reused to use up arguments
printf -v vv "%d " 1 2 3 4 5
printf "%s" "$vv"