zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Zsh hackers list" <zsh-workers@sunsite.auc.dk>
Subject: RE: PATCH: pws-25: typeset +f, functions +
Date: Tue, 6 Jul 1999 17:50:34 +0400	[thread overview]
Message-ID: <002f01bec7b6$854ddb40$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <9907061253.AA33621@ibmth.df.unipi.it>

>
> If you do `typeset +x' or `typeset -x +' you get just the names of the
> exported parameters.  Consequently, `typeset +f' and `functions +'
> (functions is claimed to be equivalent to `typeset -f') should just print
> the names of the functions.
>

That is nice. But a couple more questions about typeset:

- how can I get the names of _scalar_ variables? (I can list integer variables
with typeset +i) In 3.1.5+ with parameter module it is not so interesting - but
for 3.0.6 it may still be useful.

- what does this mean (taken from Zsh typeset docs):

                                                             Using
     `+' rather than `-' to introduce the flag causes the attribute to
     be turned off, and suppresses printing of the names and values.

- the form ``typeset -i +'' (and like) is not documented at all.

- the format of simple ``typeset'' output is not documented as well. It was
great surprise to me once ...

/andrej


  reply	other threads:[~1999-07-06 13:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-06 12:53 Peter Stephenson
1999-07-06 13:50 ` Andrej Borsenkow [this message]
1999-07-06 14:50 ` Oliver Kiddle
1999-07-07 11:21   ` PATCH: pws-25: alias +, alias +[grm] Oliver Kiddle
1999-07-07 11:43     ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002f01bec7b6$854ddb40$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).