mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
maybe final beta
This commit is contained in:
parent
c8e4cf23fd
commit
bb44b53f72
6
inxi
6
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'"
|
||||
|
|
Loading…
Reference in a new issue