Follow

Any experts out there have an idea why this function isn’t working well with ps? If I pipe df -h into it, it works fine. If I redirect the out put from ps -aux to a file, then cat that file into it, it works. When I pipe ps -aux directly into it, I only get the header.

github.com/pganssle/dotfiles/p

Also if someone has a better version of this please let me know I am not interested in maintaining any kind of shell code.

Show thread
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.