История изменений
Исправление unterwulf, (текущая версия) :
В этой книжке автор выдумал свою грамматику и её реализует. У POSIX-шелла перенаправление – часть команды, а пайплайн состоит из команд. Так что bash всё делает правильно.
The standard output of command1 shall be connected to the standard input of command2. The standard input, standard output, or both of a command shall be considered to be assigned by the pipeline before any redirection specified by redirection operators that are part of the command (see Redirection).
Исходная версия unterwulf, :
В этой книжке автор выдумал свою грамматику и её реализует. У POSIX-шелла перенаправление – часть комманды, а пайплайн состоит из команд. Так что bash всё делает правильно.
The standard output of command1 shall be connected to the standard input of command2. The standard input, standard output, or both of a command shall be considered to be assigned by the pipeline before any redirection specified by redirection operators that are part of the command (see Redirection).