Bart Schaefer
acb15e3cc9
51403: Tests and documentation for 51402, clean up some other tests.
2023-02-12 11:57:31 -08:00
Bart Schaefer
e807ac1157
51375: Clarify documentation, fix typos, add indexing.
2023-02-12 11:32:11 -08:00
Bart Schaefer
102145b048
51362: Begin documentation for named references.
2023-02-12 11:25:42 -08:00
Peter Stephenson
76d095df9d
51306: error message in ${unset?error} should be expanded
2023-02-02 10:12:17 +00:00
Bart Schaefer
88ccf2be1e
51337: parameter attributes cross-reference typeset equivalents (or lack thereof)
2023-01-31 17:08:57 -08:00
Bart Schaefer
fc1ae21fda
unposted: Add details about ${(*)...} expansion
2022-04-30 12:29:52 -07:00
Peter Stephenson
41eb200d66
27639: clarify that ${(#)...} deals with character codes.
2022-03-31 13:57:56 +01:00
Bart Schaefer
87d276346f
49844: Fix node reference errors from 49446 and 49448.
2022-03-13 21:07:14 -07:00
Peter Stephenson
865baf7a25
49672: document "tied" in output from ${(t)...}
2022-02-22 10:00:14 +00:00
Daniel Shahaf
ff1f7769ee
49446: docs: Add texinode()s, so the next commit can link directly to a subsection.
2021-11-26 08:38:56 +00:00
Daniel Shahaf
94563d5ad1
49445: docs: Clean up some subsection references.
2021-11-26 08:38:39 +00:00
ivan tkachenko
99d915330a
49440: Make double-flag parameter expansion syntax more discoverable in docs
2021-09-29 00:09:25 +02:00
ivan tkachenko
02f75cf386
49435: Remove trailing whitespaces in expn.yo
2021-09-29 00:02:49 +02:00
dana
78cf455871
unposted: Improve documentation and add regression test for workers/47745
2021-03-23 00:26:21 -05:00
Bart Schaefer
b8ec0ddba5
unposted: Add cindex entries for some subsections
2021-02-05 13:50:58 -08:00
Bart Schaefer
63b6398b70
47364: Enable extendedglob in pattern with ${(*)name/pattern/replacement}
...
Mikael Magnusson: 47382: Completion for 47364
2020-09-13 16:19:52 -07:00
Daniel Shahaf
cdafe31e05
47313: docs: Document explicitly that the :P modifier returns a symlink-less path.
2020-08-16 13:17:10 +00:00
Daniel Shahaf
7dfc4f754e
users/24985: Clarify documentation of the ${(n)} and ${(-)} parameter expansion flags, and add a forward compatibility hatch to the latter.
2020-07-12 11:39:34 +00:00
Daniel Shahaf
b53f465481
unposted (cf. users/24972, users/24978): Use an ASCII hyphen/minus rather than a dash.
2020-07-03 22:17:59 +00:00
Peter Stephenson
4e0058afc5
users/24971: ${(-)var} sorts on signed integers
2020-07-03 21:05:46 +01:00
Daniel Shahaf
f636cde7b5
46132: docs: Use an itemized list in the documentation of the *(o) glob qualifier.
...
This should be easier to read, both as a tutorial and as a reference.
2020-06-28 13:01:20 +00:00
Daniel Shahaf
4e3d08fea8
unposted: docs: Fix some markup and typos.
2020-06-26 18:25:51 +00:00
Peter Stephenson
28277a84dd
45684: Document - glob qualifier in error cases
2020-04-15 21:33:48 +01:00
Daniel Shahaf
68d2a1bc22
unposted: ${(Z)}: Convert documentation to a description block.
2020-03-20 02:28:11 +00:00
Daniel Shahaf
c7bc62aa06
45287: zshexpn: Describe parameter elision and add some introductory prose
2020-01-15 22:35:09 +00:00
Stephane Chazelas
da19b67388
45183: Improve documentation examples
2020-01-01 22:02:48 -06:00
Daniel Shahaf
f3d18c3fb5
45160: zshexpn: Expand documentation of (S)
2019-12-31 17:22:10 +00:00
Sebastian Gniazdowski
408e75b903
45150 + 45152: zshexpn: Use a more minimal example in the documentation of (#b).
2019-12-28 21:11:47 +00:00
Martijn Dekker
bcde790c88
44981: Fix some typos in the documentation.
2019-12-04 21:31:17 +00:00
Peter Stephenson
b8dc5a7f6d
44435: Handling digita arguments for :h and :t.
...
Pick number of leading or trailing path components to substitute.
Active in history, brace parameters, glob qualifiers.
Add tests for all three environments.
2019-06-20 11:13:05 +01:00
Peter Stephenson
7292c063e8
43620: More care documenting command substitution including $(<...)
2018-11-14 14:22:10 +00:00
Stephane Chazelas
5ac1c6f555
42790: make [[:blank:]] match non-ASCII blanks
2018-05-17 23:42:27 +02:00
Barton E. Schaefer
254d8ed8cb
unposted: Follow-up to previous: Clarify that ${histchars[1]} may be backslash-escaped even when it isn't '!'.
2018-01-13 18:55:34 +00:00
Daniel Shahaf
ba752d2eb5
42261: docs: Expand documentation of $histchars[1]. Joint with Matthew Martin.
2018-01-13 17:52:59 +00:00
Peter Stephenson
ab7be4238c
More [key]=value tweaks
...
Some rephrasings.
Update typeset -p for associative arrays to use new syntax.
2017-09-14 21:43:37 +01:00
Peter Stephenson
1d0f2a5e7b
Further clarification about processing of expansions
2017-07-20 18:59:01 +01:00
Peter Stephenson
d2b98fba46
41429: Try to improve description of how stages of expansion fit together.
2017-07-17 09:23:00 +01:00
Peter Stephenson
5a895a5260
40906: Add note on use of (k) parameter subst flag.
...
KSH_ARRAYS generlly requires [*] or [@] to operate on the whole
array and this is true here.
2017-03-27 11:57:50 +01:00
Daniel Shahaf
bf292bde14
40641: docs: patterns: Add '|' to the overview. Clarify that it short-circuits.
2017-02-28 07:39:15 +00:00
Barton E. Schaefer
4b8db48c6b
40640: the (A) parameter flag forces array result even if assignment syntax is not used
2017-02-25 15:56:50 -08:00
Barton E. Schaefer
db44b17150
unposted (cf. 40617): clarify description of ${(A)name=value} and ${(AA)name=value}
2017-02-23 21:53:19 -08:00
Peter Stephenson
f094b5b461
Document (E) parameter flag better.
...
It produces 1 more than any other use of an index for the
end of a match, helpfully.
2016-12-09 19:34:14 +00:00
Barton E. Schaefer
dae3116026
39882: mention ${name:/pattern/replacement} in the itemized synopsis with the related forms; clarify doc.
2016-11-09 07:50:06 -08:00
Peter Stephenson
33b3489092
zsh-users/22083: attempt to explain what a word is in parameter substitution.
2016-11-07 10:04:14 +00:00
Peter Stephenson
d0f9150530
unposted: small documentation tweaks
2016-09-14 12:17:38 +01:00
Daniel Shahaf
7154052ebe
39046 + 39061: New :P history modifier.
2016-08-22 03:34:30 +00:00
Peter Stephenson
bdf0a3df38
38945: Additional notes on :a behaviour
2016-07-26 09:35:14 +01:00
Daniel Shahaf
00f18f29de
users/21779: Clarify documentation of the ':a' word modifier.
2016-07-22 06:25:43 +00:00
Daniel Shahaf
6e966f691d
users/21777: Clarify documentation of the ':A' word modifier.
2016-07-20 07:00:29 +00:00
Peter Stephenson
f5b8efa7e0
37344: restore old printable quoting, add ${(q+)...}.
...
The \C- form is only used inside quotedzputs().
${(q+)...} outputs a quotedzputs() representation.
2015-12-07 21:49:07 +00:00