<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - systemd-cgls shows 'n/a' for when piping output less or more"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=56644">56644</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd-cgls shows 'n/a' for when piping output less or more
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>shawn.starr@rogers.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Output

$ systemd-cgls | less

 user
│ └ foo
│   └ 2
│     ├  1170 n/a
│     ├  1178 n/a
│     ├  1187 n/a
│     ├  1188 n/a
│     ├  1193 n/a
│     ├  1241 n/a
│     ├  1242 n/a
│     ├  1243 n/a
│     ├  1245 n/a
│     ├  1247 n/a
│     ├  1251 n/a
│     ├  1253 n/a

Output:

$ systemd-cgls | less

├ user
│ └ foo
│   └ 2
│     ├  1170 gdm-session-worker [pam/gdm-password]
│     ├  1178 /bin/sh /usr/bin/startkde
│     ├  1187 dbus-launch --sh-syntax --exit-with-session
│     ├  1188 /bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
│     ├  1193 /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c
"/usr/bin/startkde"


Seems like a bug?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>