diff --git a/inxi b/inxi index 98afead..5feed6a 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.7.17 -#### Date: July 19 2011 +#### version: 1.7.18 +#### Date: July 20 2011 #### Patch Number: 00 ######################################################################## #### SPECIAL THANKS @@ -5806,7 +5806,9 @@ get_sensors_output() if [[ -n $sensors_path ]];then sensors_data="$( $sensors_path 2>/dev/null )" if [[ -n "$sensors_data" ]];then - sensors_data="$sensors_data\n\n###" # make sure the file ends in newlines + # make sure the file ends in newlines then characters, the newlines are lost in the echo unless + # the data ends in some characters + sensors_data="$sensors_data\n\n###" fi fi echo -e "$sensors_data"