diff options
| author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2020-07-03 21:05:46 +0100 |
|---|---|---|
| committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2020-07-03 21:05:46 +0100 |
| commit | 4e0058afc5ea040a788d70edbfa43593295816d1 (patch) | |
| tree | 2ddff880e422a30b17333a329df25d24a902e975 /Src/zsh.h | |
| parent | 46097: Fix "assignment to invalid subscript range" error in _rm. (diff) | |
| download | zsh-4e0058afc5ea040a788d70edbfa43593295816d1.tar zsh-4e0058afc5ea040a788d70edbfa43593295816d1.tar.gz zsh-4e0058afc5ea040a788d70edbfa43593295816d1.tar.bz2 zsh-4e0058afc5ea040a788d70edbfa43593295816d1.tar.lz zsh-4e0058afc5ea040a788d70edbfa43593295816d1.tar.xz zsh-4e0058afc5ea040a788d70edbfa43593295816d1.tar.zst zsh-4e0058afc5ea040a788d70edbfa43593295816d1.zip | |
users/24971: ${(-)var} sorts on signed integers
Diffstat (limited to 'Src/zsh.h')
| -rw-r--r-- | Src/zsh.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2997,17 +2997,18 @@ enum { SORTIT_ANYOLDHOW = 0, /* Defaults */ SORTIT_IGNORING_CASE = 1, SORTIT_NUMERICALLY = 2, - SORTIT_BACKWARDS = 4, + SORTIT_NUMERICALLY_SIGNED = 4, + SORTIT_BACKWARDS = 8, /* * Ignore backslashes that quote another character---which may * be another backslash; the second backslash is active. */ - SORTIT_IGNORING_BACKSLASHES = 8, + SORTIT_IGNORING_BACKSLASHES = 16, /* * Ignored by strmetasort(); used by paramsubst() to indicate * there is some sorting to do. */ - SORTIT_SOMEHOW = 16, + SORTIT_SOMEHOW = 32, }; /* |
