Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is this the Zsh way for doing this?
- X-seq: zsh-users 7273
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: Is this the Zsh way for doing this?
- Date: Sun, 28 Mar 2004 01:03:24 +0000
- In-reply-to: <1040328005531.ZM19873@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040325223228.GA13221@DervishD> <1040328005531.ZM19873@xxxxxxxxxxxxxxxxxxxxxxx>
On Mar 28, 12:55am, Bart Schaefer wrote:
}
} If you really desperately want to write it all as one command rather
} than have the two extra assignments:
}
} mv audio_${track_number/
Oops, that got cut off in mid-thought. Here's the whole thing:
mv audio_${(l.2..0.)track_number/#(#b)([0-9]#):/$match[1]}.cdr \
${(l.2..0.)match[1]}.${${track_name%\'}#\'}.cdr
Messages sorted by:
Reverse Date,
Date,
Thread,
Author