Any difference between "cat file" and "cat<file"?

Ron Wessels wessels at uthub.UUCP
Wed Apr 4 03:49:46 AEST 1984


[* RAID *]

    There is one significant difference that comes about if the program
in question is setuid.  Depending on the file permissions of the user and
the program owner, one of "prog file" and "prog < file" may fail, while
the other succeeds.  "uux" using a private file is one example that comes
to mind.

-- 
Ron Wessels	Computer Systems Research Group		University of Toronto
{ decvax , floyd , ihnp4 , linus , utzoo , uw-beaver }!utcsrgv!uthub!wessels



More information about the Comp.unix mailing list