Re:Bash $* and $@ (2017)
by Legogris on Monday January 13, 2020 @03:33AM
(#22032799)
Just in case someone's confused by this, it becomes clear if you know how pipes work. `2>&1` means "redirect stderr to whatever stdout is currently pointed to" (redirection by copy, not by reference). More recent version of bash manual[0] has a less confusing wording in the same paragraph IMO:
[0]: https://www.gnu.org/software/bash/manual/html_node/Redirecti...
[ Parent
| on HN ]
There are no comments on this comment yet.