What does it provide over
mycmd1 #| mycmd2
Theirs "turns off" one element of a pipeline; yours turns off everything after a certain point.
This will output the stdout of mycmd1:
mycmd1 #| mycmd2 | mycmd3
mycmd1 | \# mycmd2 | mycmd3
Theirs "turns off" one element of a pipeline; yours turns off everything after a certain point.
This will output the stdout of mycmd1:
This will output the stdout of mycmd3: