The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] nl section delimiters
@ 2024-05-10  6:15 David Arnold
  2024-05-10 10:08 ` [TUHS] " Rob Pike
  0 siblings, 1 reply; 8+ messages in thread
From: David Arnold @ 2024-05-10  6:15 UTC (permalink / raw)
  To: tuhs

nl(1) uses the notable character sequences “\:\:\:”, “\:\:”, and “\:” to delimit header, body, and trailer sections within its input. 

I wondered if anyone was able to shed light on the reason those were adopted as the defaults?

I would have expected perhaps something compatible with *roff (like, .\” something). 

FreeBSD claims nl first appeared in System III (although it previously claimed SVR2), but I haven’t dug into the implementation any further. 

Thanks in advance,



d

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [TUHS] nl section delimiters
@ 2024-05-11  2:19 Douglas McIlroy
  2024-05-11 20:48 ` [TUHS] " Steffen Nurpmeso
  0 siblings, 1 reply; 8+ messages in thread
From: Douglas McIlroy @ 2024-05-11  2:19 UTC (permalink / raw)
  To: TUHS main list

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

> But it misses the coolness of the empty true(1).

Too cool. With an empty true(1), execl("true", "true", 0) is out in the
cold.

Doug

[-- Attachment #2: Type: text/html, Size: 264 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-13 13:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-10  6:15 [TUHS] nl section delimiters David Arnold
2024-05-10 10:08 ` [TUHS] " Rob Pike
2024-05-10 16:05   ` segaloco via TUHS
2024-05-10 16:50   ` John P. Linderman
2024-05-10 23:05     ` Steffen Nurpmeso
2024-05-11  9:07     ` Ralph Corderoy
2024-05-11  2:19 [TUHS] " Douglas McIlroy
2024-05-11 20:48 ` [TUHS] " Steffen Nurpmeso
2024-05-13 13:12   ` Chet Ramey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).