Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Is this the Zsh way for doing this?



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