I'm currently trying to teach myself both Linux & Perl, so I could be
*entirely* wrong, but that string looks VERY perl-like to me...

So is vim something like vi "cross-pollinated" with Perl, or...?  What's the
relationship there?

Thanks all,

TK

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David Hojo
> Hajoglou
> Sent: Tuesday, January 18, 2000 1:14 PM
> To: Linux-Newbie
> Subject: Re: vi - mc
>
>
> > * John  <[EMAIL PROTECTED]> writes:
> >
> > > 1. Using vim, how could I replace tabs with spaces ?
> >
> %s/ /<tab>/g
>
> Translates to
> %s substitute all lines
> / / this is a single space
>
> /<tab>/  the tab is a real tab (jst hit the tab key)
>
> /g global, without g it will just sub one space per line.
>
> Have fun
>
> -hojo
>

Reply via email to