mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-30 17:39:33 +01:00
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)
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user