mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
(no version change)
Added comment explanation for echo -ne main print
This commit is contained in:
parent
e2dcdf9ab5
commit
6367977a83
1
inxi
1
inxi
|
@ -357,6 +357,7 @@ print_screen_output()
|
||||||
print_data="$( tr '\n' ' ' <<< "$print_data" )"
|
print_data="$( tr '\n' ' ' <<< "$print_data" )"
|
||||||
dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "$print_data"
|
dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "$print_data"
|
||||||
else
|
else
|
||||||
|
# the -n is needed to avoid double spacing of output in terminal
|
||||||
echo -ne "$print_data\n"
|
echo -ne "$print_data\n"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue