[GRLUG] two quick vi qq

Brad DeVries devriesbj at gmail.com
Wed May 1 11:58:18 EDT 2013


Good catch.  It didn't seem right when I looked at it after typing but I
just assumed it was me getting old.  Guess I was right.

Brad.


On Wed, May 1, 2013 at 10:47 AM, Jeff Bosch <jeff at ajprogramming.com> wrote:

> I believe you have one too many "escaped" slashes. Try:
>  /\/var\/www\/virtual
>
> > Eric, I'll answer the first question because it's vi-related and let
> > someone with more Apache knowhow answer the second question.
> >
> > In vi, as you know, the slash (/) character searches down the file.  If
> > you
> > want to search for a slash character then you need to "escape" it with a
> > backslash.  So, if you tried this key sequence, it would work:
> >   /\/\/var\/www\/virtual
> > (Note the backslash characters before each forward slash character,
> except
> > the first one, which initiates the search.)
>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20130501/80697ff9/attachment.html>


More information about the grlug mailing list