Mailing List Archive

Support open source code!


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

Re: tlug: Grep for subdirectories?



>> How do I get grep to search recursively through subdirectories? I
>> haven't been able to find a way of searching anything but the current
>> directory.
>
>try:
>
>find . -type f | xargs grep 'substring'

I've a similar question: How do I do a search and replace operation on
files? I'm sure I've read/been told that you use grep to do this, but I
can't find any mention when I do man grep.

I've got about 200 HTML files which contain a double-width underline
(probably in shift-jis) in an IMG tag and it should be a single-width
underline.

Sigh. Why do I keep inheriting other peoples mistakes? I've got enough of
my own to deal with...

Darren



---------------------------------------------------------------
Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate
Featuring the IMASY Eng. Team on "IPv6 - The Next Generation IP"
Next Nomikai: 20 November, 19:30  Tengu TokyoEkiMae 03-3275-3691
---------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links