On Tue, Jan 18, 2000 at 05:49:44PM -0800, Tim K. wrote:
> 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...
>
I'm assuming you meant the line
:%s/\t/ /g
Which does look a lot like line no^H^H^H^H^H^H perl. But they both
trace backt to something else. vi is a VIsual EDitor, which is a improved
version of ed. ed uses the s/find/replace/g syntax, and so does sed.
(stream editor) Perl is a cross between sed&awk&sh&C and I guess uses
the same search and replace syntax.
> So is vim something like vi "cross-pollinated" with Perl, or...? What's the
> relationship there?
>
Nope. vim is just VImproved, it's got integrated compilation,
syntax highlighting, multiple buffer support. From what some
emacs people I know say, it's apparently a fairly emacs-ish
vi.
However there is a way to compile in perl interpreter support,
so that you can type :pe [commands] and execute perl commands
on the current buffer, so yes.
have fun
greg
--
this is not here