[PLUG] Need a vi command...

Rogan Creswick creswick at cs.orst.edu
Sat Aug 23 19:10:02 UTC 2003


On Sat, Aug 23, 2003 at 05:19:34PM -0700, david pool wrote:
> Siobhan Elliott wrote:
> 
> > :%s/\.$//g
> 
> That's 10 keystrokes.

9?

I don't believe you need the g

:%s/\.$//

since the end of the line only occurs once for each line.

-Rogan

> 
> Can anyone best that?
> 
> david
> 
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug




More information about the PLUG mailing list