[TUHS] non-Posix input files

Chet Ramey via TUHS tuhs at tuhs.org
Mon Mar 31 07:41:24 AEST 2025


On 3/30/25 12:12 PM, Steve Simon wrote:
> 
> Re: newlines at the end of files.
> 
> I hesitate to ask this in such exalted company, but isn’t it a question of whether the newline is (or should be) a line terminator, or a statement separator?

I think that's part of the difference between input files (e.g., to `sort')
and script files (the part of the `awk' specification I quoted earlier)
and the distinction that POSIX makes between them, where applicable.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet at case.edu    http://tiswww.cwru.edu/~chet/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20250330/8a261614/attachment.sig>


More information about the TUHS mailing list