Bug 50148 - utilities like systemctl and journalctl should not truncate to 80 columns when stdout is not a tty
Summary: utilities like systemctl and journalctl should not truncate to 80 columns whe...
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-20 09:11 UTC by Marien Zwart
Modified: 2012-07-20 12:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Marien Zwart 2012-05-20 09:11:44 UTC
An alternate subject for this bug would be "systemd-journalctl makes it impossible to grep through my logs":

systemd-journalctl|fgrep some-search-term:

May 20 17:33:59 cyclops kernel: PM: Hibernation image not present or could ...d.

This is completely useless. Paying attention to terminal width is great if you're actually printing to a terminal. Please do what pretty much every other commandline utility does and don't truncate output when stdout is not a tty.

If this is a not-so-subtle hint that I should not be using systemd's utilities in simple shell pipelines, instead passing switches to those utilities to make them do what I need: please reconsider. It is very annoying if I'm *forced* to learn the ins and outs of specific utilities, if a bit of shell can do what I need sufficiently well.
Comment 1 Lennart Poettering 2012-07-20 12:28:08 UTC
Should be fixed in 187. Closing.


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.