1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-24 08:56:02 +02:00

unposted (cf. 51968): improve documentation of typeset -gn and -r

This commit is contained in:
Bart Schaefer 2023-07-26 20:27:51 -07:00
parent baa19d2a85
commit c4cfb67465
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2023-07-26 Bart Schaefer <schaefer@zsh.org>
* unposted (cf. 51968): Doc/Zsh/builtins.yo: improve description
of typeset -gn and -r
* 51945: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Doc/Zsh/params.yo,
Src/builtin.c, Src/params.c, Test/K01nameref.ztst: improve named
references documentation, fixes for typeset -r and -g behavior,

View File

@ -1924,8 +1924,8 @@ redef(SPACES)(0)(tt(ifztexi(NOTRANS(@ @ @ @ @ @ @ @ ))ifnztexi( )))
xitem(tt(typeset )[ {tt(PLUS())|tt(-)}tt(AHUaghlmrtux) ] \
[ {tt(PLUS())|tt(-)}tt(EFLRZip) [ var(n) ] ])
xitem(SPACES()[ tt(+) ] [ var(name)[tt(=)var(value)] ... ])
xitem(tt(typeset )[ {tt(PLUS())|tt(-)}tt(n) ] \
[ tt(-gr) ] [ var(name)[tt(=)var(value)] ... ])
xitem(tt(typeset ){tt(PLUS())|tt(-)}tt(n) [ tt(-g) ] \
[ {tt(PLUS())|tt(-)}tt(r) ] [ var(name)[tt(=)var(value)] ... ])
xitem(tt(typeset )tt(-T) [ {tt(PLUS())|tt(-)}tt(Uglrux) ] [ {tt(PLUS())|tt(-)}tt(LRZp) [ var(n) ] ])
xitem(SPACES()[ tt(+) | var(SCALAR)[tt(=)var(value)] var(array)[tt(=LPAR())var(value) ...tt(RPAR())] [ var(sep) ] ])
item(tt(typeset) tt(-f) [ {tt(PLUS())|tt(-)}tt(TUkmtuz) ] [ tt(+) ] [ var(name) ... ])(