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

Re: UNIX/Linux text files

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().


mailhost:/etc/mail# less sendmail.cf
less: syntax of file "sendmail.cf" may induce nausea, show anyway? [n]
www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org

Attachment: signature.asc
Description: Digital signature

Reply to: