* History quoting again
@ 2000-05-04 3:14 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2000-05-04 3:14 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-04 3:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-04 3:14 History quoting again 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).