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