changes to several error messages; more test suite additions

This commit is contained in:
Chet Ramey
2023-10-04 15:04:31 -04:00
parent 00edd0ee50
commit 9c83052f48
95 changed files with 1332 additions and 294 deletions
+21
View File
@@ -0,0 +1,21 @@
# test %ls and %lc with multibyte characters
V=ಇಳಿಕೆಗಳು
V2=${V:0:2}
V3=${V:0:1}
printf "%ls\n" "$V"
printf "%ls\n" "$V2"
printf "%lc\n" "$V"
printf "%.2ls\n" "$V"
printf "%4.2ls\n" "$V"
printf "%-4.2ls---\n" "$V"
printf "%ls\n" "$V3"
printf "%S\n" "$V3"
printf "%lc\n" "$V3"
printf "%C\n" "$V3"
printf "%4.2lc\n" "$V3"
printf "%-4.2lc---\n" "$V3"