From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id RAA03562 for ; Mon, 5 Aug 1996 17:24:02 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id DAA14609; Mon, 5 Aug 1996 03:06:57 -0400 (EDT) Resent-Date: Mon, 5 Aug 1996 03:06:57 -0400 (EDT) From: "Bart Schaefer" Message-Id: <960805000758.ZM10494@candle.brasslantern.com> Date: Mon, 5 Aug 1996 00:07:58 -0700 Reply-To: schaefer@nbn.com X-Mailer: Z-Mail (4.0b.702 02jul96) To: zsh-workers@math.gatech.edu Subject: Minor fix to `run-help' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"JEtCM.0.Ba3.GsP1o"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1920 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Is there any reason why this should not be untokenized? I wouldn't have bothered quoting it, except that invoking run-help on $(/bin/rm -r *) presumably should not actually execute the rm. *** zsh-3.0-pre6/Src/zle_tricky.c Sun Aug 4 21:15:44 1996 --- zsh-3.0-pre6-work/Src/zle_tricky.c Mon Aug 5 00:02:36 1996 *************** *** 3915,3921 **** strcpy((char *)line, t); strcat((char *)line, " "); cs = ll = strlen((char *)line); ! inststr(s); zsfree(s); done = 1; } --- 3915,3922 ---- strcpy((char *)line, t); strcat((char *)line, " "); cs = ll = strlen((char *)line); ! untokenize(s); ! inststr(quotename(s, NULL, NULL, NULL)); zsfree(s); done = 1; } -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.nbn.com/people/lantern New male in /home/schaefer: >N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"