[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: more OT: search-and-replace commands (was Re: OT: Why is C so popular?)



On Wed, 2003-08-27 at 18:15, Yves Goergen wrote:
> right. i was wondering, not long ago, if there's a possibility to
> merge both parameters of the 'rename' shell script into one and port
> all this to, say, windows. there are many situations where such a tool
> would make my life a bit easier...

As much as I hate to admit that MS can do some things right, their 'ren'
command (rename, instead of doing a mv from name to name like we do) is
actually quite intelligent. Not quite to the point of regexps, but you
can do things like ren *.txt *.doc or whatnot and it will actually work.
And if there's already a shell-script for it (I'm not familiar with
'rename') just run it in Cygwin. :) 
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: