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) local awk=$(mywhich awk)
if [ -n "$awk" ]; then if [ -n "$awk" ]; then
$awk 'BEGIN {blnk=0;}; \ $awk 'BEGIN {blnk=0;}; /^\s*$/ {blnk=1; next; }; { while (/^\t* /) sub(/ /, "\t" ); if (blnk == 1 ) { print ""; blnk=0; }; print; }' $*
/^\s*$/ {blnk=1; next; }; \
{ while (/^\t* /) sub(/ /, "\t" ); }; \
{ if (blnk == 1 ) { print ""; blnk=0; }; print; }' $*
else else
cat $* cat $*
fi fi