As the integer translation is not working for us properly I need to substitute some numbers for integers at the ouput of a SNMP trap.
I’written this expression but I only achieve to translate 1. for locked but not if it is another number.
s/1\./locked/g;s/2\./holdover/g;s/3\./relock/g;s/0\./unlocked/g
someone knows the good regexp?
Thankyou