[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UNIX/Linux text files



On Tuesday 20 April 2004 19:30, Derrick 'dman' Hudson wrote:

> On Tue, Apr 20, 2004 at 04:10:30PM +0000, Adam Funk wrote:
> | On Tuesday 20 April 2004 16:50, John Hasler wrote:
> | 
> | > Ciaran writes:
> | >> The file command uses magic to figure it out. Is that any better?
> | > 
> | > The point is that there are no "text files": just files that
> | > happen to
> | > contain text.  This not true of all operating systems.
> | 
> | You mean the traditional Mac system, with resource and data forks in
> | each file?
> 
> Windows as well, which modifies the bytes as you write to a file
> depending on whether or not the 'b' flag was presented to fopen().

Interesting -- I didn't know that.



Reply to: