News for hackers. Stuff that matters.
Re:Suicide Linux by mortehu on Thursday October 26, 2017 @07:41PM (#15564258)
Just pipe the output through cat. By default, the "pipefail" option is not set, so

    echo foo | grep bar | cat
is successful. Of course, this works for any command.
Re:Suicide Linux by nerdponx on Thursday October 26, 2017 @08:22PM (#15564515)
Alternatively and less wastefully:

    echo foo | grep bar || true
Re:Suicide Linux by teddyh on Thursday October 26, 2017 @09:22PM (#15564834)
Alternatively and shorter:

    echo foo | grep bar || :