Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
History quoting again
- X-seq: zsh-workers 11134
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: History quoting again
- Date: Thu, 4 May 2000 03:14:59 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Remind me why we can't implement :q by tokenizing rather than by actually
inserting quotes into the string?
Here's tcsh:
[schaefer@candle]$ echo '"'
"
[schaefer@candle]$ echo "!!:q"
echo "echo '"'"
echo '"'
[schaefer@candle]$
Now here's zsh:
zagzig% echo '"'
"
zagzig% echo "!!:q"
dquote> <send-break>
echo "'echo' ''\''"'\'''"
zagzig%
(Never mind why tcsh thinks hostname is candle but zsh thinks it's zagzig.)
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author