Re: [nsp] Regular expressions

From: Mark E. Mallett (mem@mv.mv.com)
Date: Thu May 24 2001 - 22:25:01 EDT


> How would I perform the following command on a cisco router
>
>
> rtr1>sh ip bgp | include ?
>
> Where I want to match against all lines with a '?' (ie incomplete origin
> codes)
>
> When I try, the '?' is interpeted as a help, and it responds with
>
> route-server>sh ip bgp | include ?
> LINE Regular Expression
>
> route-server>sh ip bgp | include

use control-v before typing the ? to quote it for entry,
use backslash to quote it for the regular expression,
so:

   show ip bgp | incl \^V?

mm



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:38 EDT