[H-GEN] Text Search and Replace @ shell prompt
Matthew Taylor
bmatthewtaylor at yahoo.co.uk
Sun Aug 25 23:48:29 EDT 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
lateral thinking possibility : why not create a symlink (in lowercase
assuming your real directory is in uppercase) to overcome this. [assumes
a mixture of up/lowr case has not been used]
call me lazy.
[lazy] Mat.
theticus at excite.com wrote:
> Hi Everyone!
>
> Need your help!
>
> I've been given html files which were created in Windows and of
> course, they includes mixtures of lower and upper case for folder names.
>
> But when on UNIX/Linux server, all those folders didn't come up coz
> html is looking for upper/lower case folder name within the file. Some
> files work if they match the name of the folder name. If one or two
> files, I would have gone through patiently in "vi" and change them but
> I have over 1000+ files. :-(
>
> What I want is, is there a shell prompt command that I can give search
> pattern and replace them within the given entire folder? I heard that
> "awk" would do but I'm not up to that yet.
>
> Thanks in advance.
>
> Theticus..
>
> ------------------------------------------------------------------------
> Join Excite! - http://www.excite.com
> <http://www.excite.com/?PG=Email&SEC=Signature>
> The most personalized portal on the Web!
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list