RE: scrpt help neded...

2011-07-21 Thread Murray Taylor
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of per...@pluto.rain.com Sent: Thursday, 21 July 2011 10:08 PM To: kl...@thought.org Cc: freebsd-questions@freebsd.org Subject: Re: scrpt help neded... Gary Kline wrote

Re: scrpt help neded...

2011-07-20 Thread perryh
Gary Kline wrote: > I'm looking for a script that takes on arg and lets me vi/vim > into the r esults. Let's say that I'm looking for the string > 201107 in a slew of files. the script find it with grep---not > grep -w, just grep. collect es the filenames and lines (grep -n) > and saves the