Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2003 21:39:26 +0200
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: utility idea
Message-ID:  <20031016193926.GB5147@dds.nl>
In-Reply-To: <20031016171856.GA51167@tao.thought.org>
References:  <20031016171856.GA51167@tao.thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 16, 2003 at 10:18:56AM -0700, Gary Kline wrote:
> 
> 	Is there an existant utility (script) that captures the output
> 	of grep -n and, using vi then presents the user with the list of
> 	files that are brought at the first point where the string was
> 	seen.  E.g, if I'm recursively searching for the string "ncount" 
> 	and find several files, the script would queue up each file.
> 
> 	(I seem to remember a debugging script that would do something
> 	 like this using the err output from cc, but this was years 
> 	 and years ago.)
> 
> 	Clues welcome, people, 
> 
> 	tia,
> 
> 	gary

I think you think of script. I.e. script /root/filename. It records
everything you do afther that. It is used in the handbook in the chapter
that goes about updating your FreeBSD world by compilation.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031016193926.GB5147>