
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] stupid regex question
Your right you don't need repeat on the space.
I told you it was a stupid question m(-.-)m
Brett
On Wed, 1 Oct 2003 16:44:29 +0900
"A. Sajjad Zaidi" <sajjad@example.com> wrote:
> 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
>
> --
> **********************************************************
> TLUG server is hosted by Open Source Development Lab Japan
> http://www.osdl.jp/
> **********************************************************
>
> To unsubscribe from this mailing list,
> please see instructions at <http://www.tlug.jp/list.html>
>
--
Brett Robson
Systems Administrator
GOL
http://www.gol.com
Phone: 03-3239-6856 International: +81-3-3239-6856
Home |
Main Index |
Thread Index