PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] double redirect?
Date: Monday, 28 Sep 2020, 21:07:12


    > Message Posted By: Unknown
    >
    > hi,
    >
    > when I give parsley the arguements:
    >
    > (1)$ echo < hi >hello
    >
    > I get the response
    >
    > CMD (Depth = 0):  SIMPLE,  argv[0] = echo  <hi  >hello
    >
    > Should this not print an error since a double redirect is being attempted? Can you please explain what is supposed to happen in this case?

No.  The first redirect is of stdin, the second of stdout.

--Stan-
PREV INDEX NEXT