forked from extern/shorewall_code
More beautification
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4793 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
4af9472e27
commit
d8291a78e5
@ -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
|
||||
|
@ -407,7 +407,7 @@ __EOF__
|
||||
fi
|
||||
|
||||
indent >&3 << __EOF__
|
||||
progress_message "$message"
|
||||
progress_message "$message"
|
||||
done
|
||||
|
||||
__EOF__
|
||||
|
Loading…
Reference in New Issue
Block a user