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'"