From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22354 invoked from network); 6 Jul 1999 13:50:55 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jul 1999 13:50:55 -0000 Received: (qmail 27792 invoked by alias); 6 Jul 1999 13:50:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6988 Received: (qmail 27785 invoked from network); 6 Jul 1999 13:50:42 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Zsh hackers list" Subject: RE: PATCH: pws-25: typeset +f, functions + Date: Tue, 6 Jul 1999 17:50:34 +0400 Message-ID: <002f01bec7b6$854ddb40$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <9907061253.AA33621@ibmth.df.unipi.it> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal > > 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