[prev] [thread] [next] [lurker] [Date index for 2005/04/23]
> If we're down to THAT kind of hate, do NOT start about line endings. I > would hate to have to have the local authorities evacuate the nearest 7 > blocks because of the look on my face once we start talking about line > endings. Two byte length, optional two byte line number, optional carriage control, and optionally padded to an even multiple of 80 characters (including the carriage control in the first 80 characters, but not including the line number) with spaces. The file type is supposed to match the line format, but if the file was written with FORTRAN Formatted IO it may not be right. You can usually tell by the second byte in the first record: if it's null then there's a line number. Line numbers and carriage control are almost always mutually exclusive. If you get a record length of zero, you need to skip to the next block boundary because there's sometimes junk after the last line in a block, if they're doing block-aligned lines. I think that covers it.There's stuff above here
Generated at 01:00 on 03 May 2005 by mariachi 0.52