The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Questions about the history of cut(1)
@ 2015-05-18 10:36 Doug McIlroy
  2015-05-18 11:49 ` John Cowan
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Doug McIlroy @ 2015-05-18 10:36 UTC (permalink / raw)


I believe cut/paste originated in PWB Unix, but I can't recall who
wrote it.

Doug



^ permalink raw reply	[flat|nested] 12+ messages in thread
* [TUHS] Questions about the history of cut(1)
@ 2015-05-17 18:00 markus schnalke
  0 siblings, 0 replies; 12+ messages in thread
From: markus schnalke @ 2015-05-17 18:00 UTC (permalink / raw)


Hoi.

What started as the plan to write a short portrait of cut(1)
for a free german online magazine (translation to English is
not done yet) became a closer look at the history of cut(1).
Well, the topic got me hooked at some point. The text is still
only about eight pages long and far from scientific quality,
but it features some facts not found in Wikipedia. ;-)

So, let me come to my questions.

1) The oldest version of cut that I found is this one in System III.
http://minnie.tuhs.org/cgi-bin/utree.pl?file=SysIII/usr/src/cmd
(The file date says 1980-04-11.) As the sccsid reads version 1.5,
there must be older code. How can I find it? Is there a story of
how cut appeared for the first time?

2) As far as I found out, POSIX.2-1992 introduced the byte mode
(-b) and added multi-byte support for the character mode. Is
this correct?

3) Old BSD sources reference POSIX Draft 9 (which, it seems,
they implement) but lack multi-byte support and the byte mode.
They also support decreasing lists, which, they state, POSIX
Draft 9 would not.
http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Reno/src/usr.bin/cut/cut.c
The only POSIX.2 Draft I have access to is Draft 11.2.
http://www.nic.funet.fi/pub/doc/posix/p1003.2/d11.2/all.ps
It does specify the multi-byte stuff and does also allow
decreasing lists. Hence, it appears that these things were
added somewhen between Draft 9 and Draft 11.2. Does anyone
know details?

It would be great, if you can give me some pointers for
further research or even share some cut-stories from the
good old days. :-)


meillo


P.S.
In case you understand German, feel free to have a look at the
current version of the text: http://hg.marmaro.de/docs/cut/file/
I welcome your comments, but bear with me, the text issn't meant
to become a doctoral thesis; I just want to write it for fun and
to learn about the historical background.



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

end of thread, other threads:[~2015-06-02 17:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-18 10:36 [TUHS] Questions about the history of cut(1) Doug McIlroy
2015-05-18 11:49 ` John Cowan
2015-05-18 14:04 ` markus schnalke
2015-05-18 15:01   ` Andy Kosela
2015-05-18 15:20     ` Clem Cole
2015-05-18 15:06 ` Clem Cole
2015-05-31 18:06   ` markus schnalke
2015-05-31 22:18     ` Mary Ann Horton
2015-06-01 14:14       ` Clem Cole
2015-06-02 17:31         ` markus schnalke
2015-05-18 15:13 ` random832
  -- strict thread matches above, loose matches on Subject: below --
2015-05-17 18:00 markus schnalke

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