From: Felix Rosencrantz <f.rosencrantz@gmail.com>
To: zsh-users@sunsite.dk
Subject: Tool to unroll nested parameter expansions
Date: Sat, 4 Dec 2004 01:14:55 -0800 [thread overview]
Message-ID: <dc507f4a04120401146f1cf2e@mail.gmail.com> (raw)
Anyone have a tool that can take a nested parameter expression (e.g.
pats="${(@)${(@M)tmp1:#-g*}#-g}" ) , and break it down into simpler
substeps, so it is easier to read.
Some of the completion code uses complex parameter expansions, that
are difficult to read, and it would be useful if there was something
that could break it down into smaller more understandable steps, like
a line per ${} section.
-FR.
next reply other threads:[~2004-12-04 9:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-04 9:14 Felix Rosencrantz [this message]
2004-12-05 18:09 ` 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=dc507f4a04120401146f1cf2e@mail.gmail.com \
--to=f.rosencrantz@gmail.com \
--cc=zsh-users@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).