Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Minor fix to `run-help'
- X-seq: zsh-workers 1920
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Minor fix to `run-help'
- Date: Mon, 5 Aug 1996 00:07:58 -0700
- Reply-to: schaefer@xxxxxxx
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"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author