Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Tool to unroll nested parameter expansions
- X-seq: zsh-users 8261
- From: Felix Rosencrantz <f.rosencrantz@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Tool to unroll nested parameter expansions
- Date: Sat, 4 Dec 2004 01:14:55 -0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Mgefawysi0YQMbLR8sbnIL7spKcJPDsArTLuWe1oslopreUnTyjwm0QDbBjQfD6sjPVz33Vj87W5tH8vhDuFHM35wggYkdPbXtYlsaMd9jocHqs0xAYX+NA2p/eXVOeIvxjZ7dzrS27YHC/mbWfs58YGn+8JoluLGv1zbR1Ls0E=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Reply-to: Felix Rosencrantz <f.rosencrantz@xxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author