PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] 2> and 2>>
Date: Tuesday, 22 Sep 2020, 10:16:59


    > Message Posted By: Unknown
    >
    > In the first part of the pset, it says:
    >
    > (2) a redirection symbol [<, <<, >, >>, 2>, 2>>, or &>]
    >
    > Does this mean that we have to check make 2> and 2>> its own tokens? Or
    > will 2> and 2>> never show up on any test command?

As stated in the specification,

  Although they are implemented in the reference solution, your parse() NEED
  NOT handle single or double quoted strings or redirection involving stderr
  (i.e., 2>, 2>>, and &>).  They will not be tested.

--Stan-
PREV INDEX NEXT