From bb44b53f72030ef1e36a8267266069e8faf5ceaa Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 24 Nov 2008 00:30:14 +0000 Subject: [PATCH] maybe final beta --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 96347e5..f593430 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.6.2-b1-t3 +#### version: 0.6.2-b1-t4 #### Date: November 22 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif @@ -334,12 +334,12 @@ script_debugger() # 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" )" local print_data="$( echo -e "$1" )" no_new_line='' if [[ $DEBUG -gt 5 ]];then if [[ $KONVI -eq 1 ]];then - + # konvi doesn't seem to like \n characters, it just prints them + print_data="$( tr '\n' ' ' <<< "$print_data" )" dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "konvi='$KONVI' saying : '$print_data'" elif [[ $KONVI -eq 2 ]];then echo "konvi='$KONVI' saying : '$print_data'"