mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

zunda

標準出力は捨てて標準エラー出力だけパイプにつなぐ

コマンド 2>&1 >/dev/null | 次のコマンド

レイダイレクトナンモワカラン

@zundan 本当に紛らわしいですね

この説明でいいと思います:
stackoverflow.com/questions/17

Confusions happen due to a key difference. > redirects not by making left operand (stderr) point to right operand (stdout) but by making a copy of the right operand and assigning it to the left. Conceptually, assignment by copy and not by reference.

Stack OverflowShell redirection i/o orderI'm playing with i/o shell redirection. The commands I've tried (in bash): ls -al *.xyz 2>&1 1> files.lst and ls -al *.xyz 1> files.lst 2>&1 There is no any *.xyz file in cu...

@calchan うーん、なるほどー。Assignmentが右(> /dev/null)から左(2>&1)に進んでいくのも同様に理解すればいいいのかな…