Y
Hacker News
new
|
ask
|
show
|
jobs
by
oandrew
1625 days ago
bash 4 supports `|&` as an alternative to `2>&1` which looks better in pipelines e.g.
$ docker logs container |& grep word
1 comments
LanternLight83
1625 days ago
I 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 |
link