O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with regular expressions

In this recipe, we'll build on our original op script show-int.slax, and enhance its functionality so that it can limit the output based on characteristics of the interface. In this case, it will allow the user to specify a regular expression pattern and only interfaces whose description match this pattern will be displayed.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required