[j-nsp] "replace pattern" Command & White Spaces

Mark Tinka mark.tinka at seacom.mu
Sat Jul 30 12:55:58 EDT 2016



On 30/Jul/16 02:01, Stacy W. Smith wrote:

> Can you show a specific example of the problem? What Junos release? What platform?
>
> This appears to work for me on a vMX running 16.1R1.11:
>
> [edit]
> user at r0# replace pattern "foo bar" with "one two" 
>
> [edit]
> user at r0# show | compare 
> [edit interfaces ge-0/0/0]
> -   description "foo bar";
> +   description "one two";

Exactly the same thing as you're doing here, except I'm replacing "foo
bar" with "one".

I'm starting to suspect my Junos release - 14.2R6.5 on MX.

I do that and nothing happens.

Mark.


More information about the juniper-nsp mailing list