read commands from STDIN if used as pipe
[dell-switch] / wap-names
1 #!/bin/sh
2
3 # we are extracting switch names from munin config
4
5 grep '^\[wifi.ffzg;wap' /etc/munin/munin.conf | cut -d';' -f2 | sed 's/\]$//'
6