diff options
author | Jason Miller <jasom@fastmail.com> | 2021-02-19 15:14:37 -0800 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2021-02-20 08:48:51 -0500 |
commit | cdadfa4ce7050cd6513e260d64f97eaa88c1f450 (patch) | |
tree | 9abddb808f593ddddfb9ebc8424d8944e44154d5 /todo.sr.ht | |
parent | 723ce99786701f39f5ceaf0ef593afe3d803b54c (diff) | |
download | sr.ht-docs-cdadfa4ce7050cd6513e260d64f97eaa88c1f450.tar.gz |
Fix incorrect redirect example.
Redirects are processed left-to-right so '2>&1 >/dev/null' means:
'2>&1' redirects stderr to the original stdout
'>/dev/null' redirects just stdout to /dev/null, leaving stderr going to
the original stdout
Reversing the order causes stdout to redirect to /dev/null and then
stderr to go to the same place as stdout (which is /dev/null).
Diffstat (limited to 'todo.sr.ht')
0 files changed, 0 insertions, 0 deletions