Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] stupid regex question



On Wed, Oct 01, 2003 at 04:35:37PM +0900, Brett Robson wrote:
> 
> I'm trying to use this
> :%s/ +.*/$//g

Why do you need the '+'? Just this should work:

:%s/ .*$//g

-- 
A. Sajjad Zaidi
Sr.System Administrator
iinix Solutions (http://www.iinix.com/)
gpg --keyserver pgp.mit.edu --recv-keys D7AD0E13


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links