[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20040407232534.B17099@mx1.mfn.org>
From: measl at mfn.org (J.A. Terranson)
Subject: FAT32 input > output = null?
On Wed, 7 Apr 2004, morning_wood wrote:
> where did the delete command came from ????
> this has nothing to do with any system command
> it was simply an odd behavior where by ">" piping
> output of a file into itself, causes a 0 byte or corrupted file
> C:>del.exe >del.exe
> in particular, executeable files.
You are confusing Pipes and Redirection. Pipes are "|" while redirection is
">" and ">>".
The redirection operators imply the opening of a file for writing, which in
the case of ">" will always truncate the target as part of the open.
> m.wood
Se_cur_ity my ass.
--
"One of the nice things about ignorance is that it is curable.
Unlike Neo-Conservatism.
Eric Michael Cordian
Powered by blists - more mailing lists