3 ms·
bash 4 supports `|&` as an alternative to `2>&1` which looks better in pipelines e.g. $ docker logs container |& grep word
by oandrew 5y ago
bash 4 supports `|&` as an alternative to `2>&1` which looks better in pipelines
e.g.
$ docker logs container |& grep word
- LanternLight83 5y agoI was looking for this just the other day, but thought it would have been the other way around (&|, consistent with &>), and moved on with 2>&1 |