Author: Unknown
Subject: Two output redirects
Date: Sunday, 27 Sep 2020, 16:38:02
Why does running staff solution with command ">>a bcd | c;" lead to the error "parsley: two output redirects"? Based on the grammar rules, I thought the expected output would be: CMD (Depth = 2): SIMPLE, argv[0] = bcd >>a CMD (Depth = 1): PIPE CMD (Depth = 2): SIMPLE, argv[0] = c CMD (Depth = 0): SEP_END Thanks for the clarification!PREV INDEX NEXT