How do I suppress the dot that gets printed to the left of the service name when I run
systemctl status XXX? I'd like to save the output of this command to a bash variable and print it. The presence of the dot in the output causes my script to fail, most probably because the dot is a unicode char.
# systemctl status network ● network.service - LSB: Bring up/down networking Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled) Active: active (exited) since Thu 2018-10-11 09:16:29 PDT; 6h ago Docs: man:systemd-sysv-generator(8) Oct 11 09:16:24 126.96.36.199 systemd: Starting LSB: Bring up/down networking... Oct 11 09:16:24 188.8.131.52 network: Bringing up loopback interface: [ OK ] Oct 11 09:16:28 184.108.40.206 network: Bringing up interface eth0: [ OK ] Oct 11 09:16:29 220.127.116.11 systemd: Started LSB: Bring up/down networking.