From a2af54200598216fdc97fab94d84e0b84791e59b Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 24 Nov 2008 00:39:34 +0000 Subject: [PATCH] finals --- inxi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index f593430..4323d40 100755 --- a/inxi +++ b/inxi @@ -30,6 +30,9 @@ #### #### You should have received a copy of the GNU General Public License #### along with this program. If not, see . +#### +#### If you don't understand what Free Software is, please read this page: +#### http://www.gnu.org/philosophy/free-sw.html - it's quite clear. ######################################################################## #### DEPENDENCIES #### bash >=2.05b(bash), df;readlink;stty;tr;uname;wc(coreutils), @@ -329,12 +332,13 @@ script_debugger() #### print / output cleaners #### ------------------------------------------------------------------- -# inxi speaks through here. When run by Konversation, uses DCOP +# inxi speaks through here. When run by Konversation script alias mode, uses DCOP # for dcop to work, must use 'say' operator, AND colors must be evaluated by echo -e # note: dcop does not seem able to handle \n so that's being stripped out and replaced with space. print_screen_output() { - local print_data="$( echo -e "$1" )" no_new_line='' + # the double quotes are needed to avoid losing whitespace in data when certain output types are used + local print_data="$( echo -e "$1" )" if [[ $DEBUG -gt 5 ]];then if [[ $KONVI -eq 1 ]];then