TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: FW: HTML file question From:"Sandy Harris" <sharris -at- dkl -dot- com> To:Kathi Jan Knill <Kathi -dot- Knill -at- level8 -dot- com> Date:Tue, 08 Feb 2000 11:10:31 -0500
Kathi Jan Knill wrote:
> Does anyone know of any batch script or utility that will search for words,
> etc. through multiple HTML files automatically? If you do, can you tell me
> where I'd get it?
On Unix, just use 'grep'. 'man grep' for the online manual.
Look at: http://www.cygnus.com
for the cygwin utilities which give you all the Unix utilities for
DOS has a much inferior utility called 'find'. I think it will do this.
Win 95/98/NT have a 'find' function on the 'startup' menu that will at
least tell you which files contain the word of interest.
The free Amaya editor/browser from w3.org has a 'make book' feature
that combines multiple HTML files into one large file. You could do
that, then search in the large file with your editor.
Likely the best way to do this on Windows would be to do a web search
for the Windows version of Perl. That gives you, free, a programming
language designed mainly for text manipulation, and access to a huge
collection of libraries. Then you have the tools for this and likely
for whatever comes up next.