From: Sven Guckes <guckes@math.fu-berlin.de>
To: gsker@lenti.med.umn.edu
Cc: zsh-users@math.gatech.edu
Subject: Re: zsh - rename THIS=THAT - mv $a $a:s/THIS/THAT/
Date: Mon, 15 Jun 1998 02:37:41 +0200 [thread overview]
Message-ID: <19980615023741.F6574@math.fu-berlin.de> (raw)
In-Reply-To: <Pine.SOL.3.95.980613090415.15614A-100000@x139-110.med.umn.edu>; from Gerald Skerbitz on Sat, Jun 13, 1998 at 09:06:44AM -0500
Hi!
Quoting Gerald Skerbitz (gsker@x139-110.med.umn.edu):
> > $ ls
> > lahDIdah DIagnose LadyDI
> > $ rename * DI=di
> > $ ls
> > lahdidah diagnose Ladydi
> for a in *DI*
> mv $a $a:s/DI/di
That's gotta be the most elegant solution! :-)
Thanks!
Sven
prev parent reply other threads:[~1998-06-15 0:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-12 8:15 help with 'rename' function Timothy J Luoma
1998-06-12 9:09 ` Peter Stephenson
1998-06-14 20:05 ` Paul Lew
1998-06-12 9:14 ` Bart Schaefer
1998-06-12 9:26 ` Zefram
1998-06-12 9:55 ` Hannu Koivisto
1998-06-12 23:07 ` Thomas Köhler
1998-06-13 11:02 ` rename THIS=THAT Sven Guckes
[not found] ` <Pine.SOL.3.95.980613090415.15614A-100000@x139-110.med.umn.edu>
1998-06-15 0:37 ` Sven Guckes [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=19980615023741.F6574@math.fu-berlin.de \
--to=guckes@math.fu-berlin.de \
--cc=gsker@lenti.med.umn.edu \
--cc=zsh-users@math.gatech.edu \
/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).