zsh-workers
 help / color / mirror / code / Atom feed
* Minor fix to `run-help'
@ 1996-08-05  7:07 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 1996-08-05  7:07 UTC (permalink / raw)
  To: zsh-workers

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"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-05  7:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-05  7:07 Minor fix to `run-help' Bart Schaefer

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).