Any #bash 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.
https://github.com/pganssle/dotfiles/pull/2/files
Also if someone has a better version of this please let me know I am not interested in maintaining any kind of shell code.