Re: In the POSIX shell standard, why are redirections mixed in with variable assignments and positional parameters?

2016-08-12 Thread Geoff Clare
Mark Galeck wrote, on 12 Aug 2016: > > the formal POSIX shell grammar for yacc symbol "simple_command" accepts > commands which can be loosely summarized as: > three parts, each optional, in order: > variable assignments and redirections mixed together > command name >

In the POSIX shell standard, why are redirections mixed in with variable assignments and positional parameters?

2016-08-12 Thread Mark Galeck
Hello, the formal POSIX shell grammar for yacc symbol "simple_command" accepts commands which can be loosely summarized as: three parts, each optional, in order: variable assignments and redirections mixed togethercommand namecommand arguments and  redirections mixed together It seems to me,