From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27548 invoked from network); 24 Jul 2008 16:37:04 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 24 Jul 2008 16:37:04 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 55162 invoked from network); 24 Jul 2008 16:36:57 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Jul 2008 16:36:57 -0000 Received: (qmail 17183 invoked by alias); 24 Jul 2008 16:36:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25336 Received: (qmail 17169 invoked from network); 24 Jul 2008 16:36:55 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 24 Jul 2008 16:36:55 -0000 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by bifrost.dotsrc.org (Postfix) with ESMTP id 4511F80561C5 for ; Thu, 24 Jul 2008 18:36:51 +0200 (CEST) Received: by yw-out-2324.google.com with SMTP id 5so1140191ywb.81 for ; Thu, 24 Jul 2008 09:36:51 -0700 (PDT) Received: by 10.143.168.4 with SMTP id v4mr170858wfo.39.1216917410388; Thu, 24 Jul 2008 09:36:50 -0700 (PDT) Received: by 10.142.214.4 with HTTP; Thu, 24 Jul 2008 09:36:50 -0700 (PDT) Message-ID: Date: Thu, 24 Jul 2008 18:36:50 +0200 From: thomasg To: "Richard Hartmann" Subject: Re: Bug(?) in builtin r Cc: "Zsh hackers list" In-Reply-To: <2d460de70807240752ge3b0a5qbfa640585c101c35@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10867_20487609.1216917410385" References: <2d460de70807240752ge3b0a5qbfa640585c101c35@mail.gmail.com> X-Virus-Scanned: ClamAV 0.92.1/7815/Thu Jul 24 17:09:44 2008 on bifrost X-Virus-Status: Clean ------=_Part_10867_20487609.1216917410385 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Just tried it - it kills my shell immediately. Definitely doesn't sound like a feature. :) On Thu, Jul 24, 2008 at 4:52 PM, Richard Hartmann < richih.mailinglist@gmail.com> wrote: > Hi all, > > I am sure most of you are aware of this, but it has always > ailed me and should probably be changed. > If you have 100 commands on your stack and call > > r 101 > > it will recurse endlessly or as long as the box allows it to > do until killing it. Unless there are useful aspects to this > behaviour, it is basically a nice way to kill your shell. > > > Thoughts? > Richard > ------=_Part_10867_20487609.1216917410385 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Just tried it - it kills my shell immediately. Definitely doesn't sound like a feature. :)

On Thu, Jul 24, 2008 at 4:52 PM, Richard Hartmann <richih.mailinglist@gmail.com> wrote:
Hi all,

I am sure most of you are aware of this, but it has always
ailed me and should probably be changed.
If you have 100 commands on your stack and call

 r 101

it will recurse endlessly or as long as the box allows it to
do until killing it. Unless there are useful aspects to this
behaviour, it is basically a nice way to kill your shell.


Thoughts?
Richard

------=_Part_10867_20487609.1216917410385--