mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
finals
This commit is contained in:
parent
bb44b53f72
commit
a2af542005
8
inxi
8
inxi
|
@ -30,6 +30,9 @@
|
|||
####
|
||||
#### You should have received a copy of the GNU General Public License
|
||||
#### along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
####
|
||||
#### 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
|
||||
|
|
Loading…
Reference in a new issue