Posts Tagged ‘ sed ’

perl, the s/// operator and meta-characters

11 September 2010

The other day I was working on adding some extended validation of Nagios confg files.  I have been using Nagios::Object for this job.  What I was specifically testing is in the command object, to see if what was in the command_line was a valid command.  In our configs, we use the $USER1$ through $USER5$ macros…

Read more »