diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-06 13:10:43 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-06 13:10:43 +0000 |
commit | ccc2e1bd890ea23c99dda07efdbfe7f3f9a36343 (patch) | |
tree | ecc48bc21d27f93e4f51c2addc597dd554f8c321 /Test/D04parameter.ztst | |
parent | e8458f44c4f9377ece69ac60a54e81f8b81ac4e8 (diff) | |
download | zsh-ccc2e1bd890ea23c99dda07efdbfe7f3f9a36343.tar.gz zsh-ccc2e1bd890ea23c99dda07efdbfe7f3f9a36343.tar.xz zsh-ccc2e1bd890ea23c99dda07efdbfe7f3f9a36343.zip |
23660: fix numerical sorting of parameters + tests + documentation
Diffstat (limited to 'Test/D04parameter.ztst')
-rw-r--r-- | Test/D04parameter.ztst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 25f4027fe..6df466ed0 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -913,3 +913,10 @@ >AXB C1D >AB C0D >AB C0D + + foo=(a6 a117 a17 b6 b117 b17) + print ${(n)foo} + print ${(On)foo} +0:Numeric sorting +>a6 a17 a117 b6 b17 b117 +>b117 b17 b6 a117 a17 a6 |