[geeks] regex question, I suppose...
Peter L. Wargo
geeks at sunhelp.org
Fri Aug 24 23:08:35 CDT 2001
On Fri, 24 Aug 2001 dave at cca.org wrote:
> pwargo at basenji.com writes:
>
> >Reminds me of the time I watched a scientist trying to do a search &
> >replace on a 5M sequence file using vi over NFS... He came to me in
> >frustration after 2 hours had passed... I showed him a single-line sed
> >that did it in 18 seconds... Sometimes, the old ways are the best.
>
> Of course if you can do it in one line of sed, then you can use the
> same command in vi...
Yes, but the difference in speed is amazing, as you are not trying to
do it in an interactive editor...
-P
More information about the geeks
mailing list