zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Chatty little precompiler for _arguments
Date: 23 Sep 1999 10:39:25 +0900	[thread overview]
Message-ID: <rsqvh92csoi.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Mon, 20 Sep 1999 10:43:51 +0200 (MET DST)"

In article <199909200843.KAA06289@beta.informatik.hu-berlin.de>,
  Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:

> I would be against this because its much less useful in cases where
> you stuff together string from multiple parameters. However, in its
> first life `:q' did that and we could use the doubled-flag convention
> so that `${(qq)foo}' would emit stuff in single quotes. (Tripled for
> double quotes?)

I found a problem about quoting.

Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% a=$'\n\n\n\n\n\n'
is27e1u11% print -lr - ${(q)a}
zsh: segmentation fault (core dumped)  Src/zsh -f

Also I suppose that `${(qqqq)foo}' should quote foo in $'...' style.
# I really want this because I frequently use dangeraous characters
# such as NUL.
-- 
Tanaka Akira


  parent reply	other threads:[~1999-09-23  1:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-20  8:43 Sven Wischnowsky
1999-09-20 12:15 ` PATCH: was: " Sven Wischnowsky
1999-09-20 16:36   ` Bart Schaefer
1999-09-23  1:39 ` Tanaka Akira [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-09-23 14:07 Sven Wischnowsky
1999-09-23 10:28 Sven Wischnowsky
1999-09-23 14:12 ` Tanaka Akira
1999-09-23 15:12   ` Bart Schaefer
1999-09-25  2:53     ` Tanaka Akira
1999-09-23  9:13 Sven Wischnowsky
1999-09-23 13:57 ` Tanaka Akira
1999-09-21  7:15 Sven Wischnowsky
1999-09-20 12:57 Sven Wischnowsky
1999-09-19 22:57 Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rsqvh92csoi.fsf@crane.jaist.ac.jp \
    --to=akr@jaist.ac.jp \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).