diff --git a/inxi b/inxi index 0d9dd6d..6f9be58 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.6.2-b1-t1 +#### version: 0.6.2-b1-t2 #### Date: November 22 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif @@ -333,20 +333,22 @@ script_debugger() # for dcop to work, must use 'say' operator, AND colors must be evaluated by echo -e print_screen_output() { - local print_data=$( echo -e "$1" ) + local print_data="$( echo -e $1 )" if [[ $DEBUG -gt 5 ]];then if [[ $KONVI -eq 1 ]];then dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "konvi='$KONVI' saying : '$print_data'" + elif [[ $KONVI -eq 2 ]];then + echo "konvi='$KONVI' saying : '$print_data'" else - echo "konvi='$KONVI' saying : '$print_data'" + echo "printing out: '$print_data'" fi fi if [[ $KONVI -eq 1 ]];then dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "$print_data" else - echo -e "$print_data\n" + echo -ne "$print_data\n" fi }