zsh-users
 help / color / mirror / code / Atom feed
* auto-quoting inside braces in arguments
@ 2021-02-18 13:40 Vincent Lefevre
  2021-02-18 17:35 ` Daniel Shahaf
  0 siblings, 1 reply; 16+ messages in thread
From: Vincent Lefevre @ 2021-02-18 13:40 UTC (permalink / raw)
  To: zsh-users

Is there a way to get auto-quoting inside braces in arguments?
For instance,

  echo {a b}

would give 2 words "echo" and "{a b}" (which is different from what
a POSIX shell would give, but the behavior is already different
anyway, as one gets a parse error otherwise). Obviously this rule
should be applied only for arguments.

Alternatively, one could have a feature like url-quote-magic.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-02-19 22:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18 13:40 auto-quoting inside braces in arguments Vincent Lefevre
2021-02-18 17:35 ` Daniel Shahaf
2021-02-18 18:30   ` Bart Schaefer
2021-02-18 18:52     ` Bart Schaefer
2021-02-19 12:24       ` Vincent Lefevre
2021-02-18 18:57     ` Ray Andrews
2021-02-18 19:07       ` Bart Schaefer
2021-02-18 21:49         ` Ray Andrews
2021-02-18 22:12         ` Daniel Shahaf
2021-02-18 22:44           ` Bart Schaefer
2021-02-19 16:10             ` Daniel Shahaf
2021-02-19 16:50               ` Daniel Shahaf
2021-02-19 21:53                 ` Bart Schaefer
2021-02-19 12:17     ` Vincent Lefevre
2021-02-19 12:29       ` Vincent Lefevre
2021-02-19 22:15         ` 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).