Following command was used: $ find application/ library/Icinga/ modules/ -name *.php | xargs sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba;$a\' |
||
---|---|---|
.. | ||
Dashboard | ||
AbstractWidget.php | ||
Dashboard.php | ||
Form.php | ||
Tab.php | ||
Tabs.php |
Following command was used: $ find application/ library/Icinga/ modules/ -name *.php | xargs sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba;$a\' |
||
---|---|---|
.. | ||
Dashboard | ||
AbstractWidget.php | ||
Dashboard.php | ||
Form.php | ||
Tab.php | ||
Tabs.php |