[GRLUG] two quick vi qq

Steve Romanow slestak989 at gmail.com
Wed May 1 14:18:25 EDT 2013


I typically would just search for virtual to make it easy.


On Wed, May 1, 2013 at 11:58 AM, Brad DeVries <devriesbj at gmail.com> wrote:

> 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
>>
>
>
> _______________________________________________
> 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/38a9fa34/attachment.html>


More information about the grlug mailing list