* 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
-- 
Greeno <[EMAIL PROTECTED]>
GnuPG Key :  1024D/B5657C8B 
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B

Imagine working in a secure environment and finding the string 
_NSAKEY in the OS binaries without a good explanation
    -Alan Cox 04/05/2001

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

Reply via email to