The ultimate answer is that the shell interpets the ">" first,
truncating the output file to 0.
Quickest way to make a file null bytes long (in sh type shells, not
in (t(csh) type):

$ >filename

In bash (also in ksh I think) you can tell the shell not to clobber an existing file,
I think the command is:

$ set noclobber

Or similar..

-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to