projects
/
dell-switch
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
grep through dumps in /dev/shm/sw.mac.port
[dell-switch]
/
snmp-grep.sh
1
#!/bin/sh -xe
2
patt=$*
3
test -z "$patt" && patt='.'
4
grep -r -i $patt /dev/shm/sw.mac.port/ | sed -e 's/^.*snmp.//' -e 's/:[^:]*: / /' -e 's/\].*: / /'