> * This one time, at band camp, Antony Clarke said:
> > In my Uni notes I have this as a command line argument;
> >
> > file1 | a.out > file2
> >
> > Obviously file1 should pipe to a.out and a.out output should be sent to
> > file2. When running this command file1 is obviously not a valid command.
> > Should this work on linux or unix.
> >
>
> If 'file1' is a file rather than a command, you can try one of the
> following :
>
> cat file1 | a.out
> a.out < file1
> or (if a.out accepts parameters)
> a.out file1
>
> A little more info will allow a more definite response.
>
> HTH
>
> Greeno

No thats it. A file (integers) piped to a.out (executable program) then
output of a.out to another file. I knew it didn't work in RH with bash and
was just wondering if anyone knew if it might run in a certain shell or
system. Thanks for your response.

Antony


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to