I'd expect 'systemctl | cat' do ignore terminal width. E.g. 'systemctl | grep virtio' and 'systemctl --full | grep virtio' should give the same result, but they don't. Another small thing: even with --full, the descriptions are truncated to terminal width anyway. Would be nice if they could be printed in full when output is not a terminal. This is useful when the description contains the un-mangled device name which one want to copy.
(In reply to comment #0) > I'd expect 'systemctl | cat' do ignore terminal width. > E.g. 'systemctl | grep virtio' and 'systemctl --full | grep virtio' should give > the same result, but they don't. Hmm, interesting idea. Also see https://bugzilla.redhat.com/show_bug.cgi?id=626891 > Another small thing: > even with --full, the descriptions are truncated to terminal width anyway. > Would be nice if they could be printed in full when output is not a terminal. This is now fixed in v9.
(In reply to comment #1) > (In reply to comment #0) > > I'd expect 'systemctl | cat' do ignore terminal width. > > E.g. 'systemctl | grep virtio' and 'systemctl --full | grep virtio' should give > > the same result, but they don't. > > Hmm, interesting idea. Also see > https://bugzilla.redhat.com/show_bug.cgi?id=626891 Basically this part is a duplicate of the other bug. I'm going to reply over there. > > Another small thing: > > even with --full, the descriptions are truncated to terminal width anyway. > > Would be nice if they could be printed in full when output is not a terminal. > > This is now fixed in v9. Yes. Works!
I closed the rhbz bug a while back, closing this one too.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.