Commit f3969331 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Start


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@923 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent cff34796
#!/bin/sh
# Syntax
SYNTAX="$0 <hostname> [regexp_channel]"
HOSTNAME=$1
REGEXP=$2
if [ -z "${HOSTNAME}" ]; then
echo ""
echo "Syntax: ${SYNTAX}"
echo ""
exit
fi
../src/nmxptool -H $HOSTNAME -L | grep -E "${REGEXP}" | sed -e "s/^.* //"
# ../src/nmxptool -H $HOSTNAME -L | grep HZ | sed -e "s/^.* //" -e "s/HZ/H?/g"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment