zsh-workers
 help / color / mirror / Atom feed
From: "Daniel Shahaf" <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Cc: "Felipe Contreras" <felipe.contreras@gmail.com>
Subject: Brace expansion in command position
Date: Sat, 21 Nov 2020 15:31:53 +0000
Message-ID: <37c503f2-a4f5-4074-b33e-08505abaaaf7@www.fastmail.com> (raw)

[[[
% type pwd
pwd is a shell builtin
% {pwd,-P}
zsh: command not found: pwd,-P
% builtin {pwd,-P}
/home/daniel
]]]

I expected the second command to do what the third command does.

Cheers,

Daniel


             reply	other threads:[~2020-11-21 15:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-21 15:31 Daniel Shahaf [this message]
2020-11-21 17:56 ` Peter Stephenson
2020-11-23  4:05   ` Daniel Shahaf

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=37c503f2-a4f5-4074-b33e-08505abaaaf7@www.fastmail.com \
    --to=d.s@daniel.shahaf.name \
    --cc=felipe.contreras@gmail.com \
    --cc=zsh-workers@zsh.org \
    /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

zsh-workers

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/zsh-workers

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-workers zsh-workers/ http://inbox.vuxu.org/zsh-workers \
		zsh-workers@zsh.org
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


code repositories for the project(s) associated with this inbox:

	https://git.vuxu.org/mirror/zsh/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git