fix path to grep in /dev/shm/
[dell-switch] / snmp-grep.sh
index 491a074..40f1fcd 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh -xe
 patt=$*
 test -z "$patt" && patt='.'
-grep -r -i $patt /dev/shm/sw.mac.port/ | sed -e 's/^.*snmp.//' -e 's/:[^:]*: / /' -e 's/\].*: / /'
+grep -r -i $patt /dev/shm/snmp-mac-port/