while executing
cat test.txt | java myfile > test1.txt 2> test2.txt
I am getting error "Ambiguous output redirect."
my java file contains System.out and System.err .
I am in Unix csh environment.
while executing
cat test.txt | java myfile > test1.txt 2> test2.txt
I am getting error "Ambiguous output redirect."
my java file contains System.out and System.err .
I am in Unix csh environment.
got it in unix tcsh env i can run as follows :
(cat test.txt | java myfile > test1.txt) >& test2.txt