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@r0# replace pattern "foo bar" with "one two" 

[edit]
user@r0# show | compare 
[edit interfaces ge-0/0/0]
-   description "foo bar";
+   description "one two";

--Stacy


> On Jul 29, 2016, at 5:48 PM, Mark Tinka <[email protected]> wrote:
> 
> Hi all.
> 
> We are trying to replace text in the configuration that contains spaces.
> 
> Documentation suggests this can be done by surrounding the source text
> in quotes. But this does not work.
> 
> JTAC have no answer, which is odd.
> 
> Anyone know how to do this?
> 
> A "| match" works with quotes enclosed, but "replace pattern" does not.
> 
> All help appreciated.
> 
> Mark.
> _______________________________________________
> juniper-nsp mailing list [email protected]
> https://puck.nether.net/mailman/listinfo/juniper-nsp

_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to