zsh-workers
 help / color / mirror / code / Atom feed
From: "Nikolai Weibull" <now@bitwi.se>
To: zsh-workers <zsh-workers@sunsite.dk>
Subject: Re: Bug in parameter expansion code?
Date: Mon, 12 Nov 2007 00:32:36 +0100	[thread overview]
Message-ID: <dbfc82860711111532k4c52bc5w141eafde408ca4c6@mail.gmail.com> (raw)
In-Reply-To: <dbfc82860711111519r26847ae3i61de84e4a9d5da78@mail.gmail.com>

On Nov 12, 2007 12:19 AM, Nikolai Weibull <now@bitwi.se> wrote:

> % echo ${(l:$(( $#2 + ${1:-1} * 3 ))::x:)}
> zsh: closing brace expected
> zsh: parse error in command substitution

Sorry, my braindamage, not Zsh's (I'm using ':' as the delimiter for
the 'l' modifier, thus the ':' in ${1:-1} is seen as a delimiter, not
part of the expansion of ${1}).


      reply	other threads:[~2007-11-11 23:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-11 23:19 Nikolai Weibull
2007-11-11 23:32 ` Nikolai Weibull [this message]

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=dbfc82860711111532k4c52bc5w141eafde408ca4c6@mail.gmail.com \
    --to=now@bitwi.se \
    --cc=zsh-workers@sunsite.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).