Tom Brown wrote:
Hi I have a script and the output of that script is currentlyUCD-SNMP-MIB::ucdavis.55.101.1 = STRING: "CRITICAL emcpowera, 2 dead, 2 alive, possible LUN tresspass or HBA failure"is there anyway to cut off the text ' UCD-SNMP-MIB::ucdavis.55.101.1 = STRING: ' so that i get whatever comes AFTER that ?
Pipe the output through: sed -e 's/^UCD-SNMP-MIB::[^:]*: //' Paul.