Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Compliance reporting: comparing blocks of text ignoring white space

$
0
0

I am working on getting our network engineers to use the compliance reporting for checking the configurations on our devices, but they are frustrated by white space comparisons in the policy rules.

some configuration files have \r\n, other have \n

some configuration files have the rules indented by different amounts of white space

this means that 'string compare' doesn't work

This leads to very ugly regular expressions (that I have to help debug as the only one who understands then nearby)

 

Anyone got any workarounds for this?

 

Thanks


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>