diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-13 20:55:29 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-13 20:55:29 +0000 |
commit | a242b1eb35863b73cbc63699fafe920e8b92c858 (patch) | |
tree | 141db2c3c4a20d1a44d7fe357a39d0ba4aab9d4f /Test/D07multibyte.ztst | |
parent | efd061cdc9bdc0ba692387ec25eb6d01616d0425 (diff) | |
download | zsh-a242b1eb35863b73cbc63699fafe920e8b92c858.tar.gz zsh-a242b1eb35863b73cbc63699fafe920e8b92c858.tar.xz zsh-a242b1eb35863b73cbc63699fafe920e8b92c858.zip |
22705: make ${(l...)...} and ${(r...)...} handle multibyte characters
Diffstat (limited to 'Test/D07multibyte.ztst')
-rw-r--r-- | Test/D07multibyte.ztst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst index fe20ebb73..8b17a7294 100644 --- a/Test/D07multibyte.ztst +++ b/Test/D07multibyte.ztst @@ -283,3 +283,17 @@ >Ἐν ἀρχῇ ἦν ὁ >Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν, καὶ ἦν ὁ λόγος >Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν, καὶ + + foo=(κατέβην χθὲς εἰς Πειραιᾶ) + print ${(l.3..¥.r.3..£.)foo} + print ${(l.4..¥.r.2..£.)foo} + print ${(l.5..¥.r.1..£.)foo} + print ${(l.4..¥..«.r.4..£..».)foo} + print ${(l.4..¥..Σωκράτης.r.4..£..Γλαύκωνος.)foo} +0:simultaneous left and right padding +>κατέβη ¥χθὲς£ ¥¥εἰς£ Πειραι +>¥κατέβ ¥¥χθὲς ¥¥¥εἰς ¥Πειρα +>¥¥κατέ ¥¥¥χθὲ ¥¥¥¥εἰ ¥¥Πειρ +>«κατέβην ¥«χθὲς»£ ¥¥«εἰς»£ «Πειραιᾶ +>ςκατέβην ηςχθὲςΓλ τηςεἰςΓλ ςΠειραιᾶ +# er... yeah, that looks right... |