zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: dunc@ucc.gu.uwa.edu.au (Duncan Sargeant)
Cc: zsh-workers@math.gatech.edu
Subject: Re: recursive function warnings ...
Date: Wed, 11 Sep 1996 21:49:55 +0200 (MET DST)	[thread overview]
Message-ID: <199609111949.VAA00266@hzoli.ppp.cs.elte.hu> (raw)
In-Reply-To: <199609110637.OAA02883@mermaid.ucc.gu.uwa.edu.au> from Duncan Sargeant at "Sep 11, 96 02:37:09 pm"

> anyway, I was just wondering about the possibility of an option or
> something so that if a function calls itself recursively, a warning
> message is printed, eg:
> 
> Warning: function finger calls itself recursively.
> 
> then maybe to stop this annoying message occurring again, one
> specifies the function with the -r option, eg
> function -r finger { ...  
> just in case the function needs to call itself recursively.

But there are real shell functions which use recursion.  Adding this
feature would break them.

Note that you can always use `command finger' to invoke the finger external
command without knowing the exact pathname.

Zoli


      reply	other threads:[~1996-09-12  3:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-11  6:37 Duncan Sargeant
1996-09-11 19:49 ` Zoltan Hidvegi [this message]

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=199609111949.VAA00266@hzoli.ppp.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=dunc@ucc.gu.uwa.edu.au \
    --cc=zsh-workers@math.gatech.edu \
    /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).