More beautification

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4793 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-11-04 00:58:52 +00:00
parent 4af9472e27
commit d8291a78e5
2 changed files with 2 additions and 5 deletions

View File

@ -4881,10 +4881,7 @@ mycat()
local awk=$(mywhich awk)
if [ -n "$awk" ]; then
$awk 'BEGIN {blnk=0;}; \
/^\s*$/ {blnk=1; next; }; \
{ while (/^\t* /) sub(/ /, "\t" ); }; \
{ if (blnk == 1 ) { print ""; blnk=0; }; print; }' $*
$awk 'BEGIN {blnk=0;}; /^\s*$/ {blnk=1; next; }; { while (/^\t* /) sub(/ /, "\t" ); if (blnk == 1 ) { print ""; blnk=0; }; print; }' $*
else
cat $*
fi

View File

@ -407,7 +407,7 @@ __EOF__
fi
indent >&3 << __EOF__
progress_message "$message"
progress_message "$message"
done
__EOF__