Remove some redundancy from the output of 'show macros'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3135 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-12-09 16:06:06 +00:00
parent 9235467150
commit 43984b5d10

View File

@ -928,7 +928,7 @@ case "$1" in
if [ -n "$foo" ]; then
macro=${macro#*.}
foo=${foo%.*}
echo " $macro ${foo#\#}"
echo " $macro ${foo#\#}" | sed 's/This macro //'
fi
done
;;