This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to expand tabs? Where is expand program.
- From: Warren Young <wyml at etr-usa dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Thu, 2 Jul 2015 22:28:40 -0600
- Subject: Re: How to expand tabs? Where is expand program.
- Authentication-results: sourceware.org; auth=none
- References: <701185250 dot 1353195 dot 1435878843444 dot JavaMail dot yahoo at mail dot yahoo dot com> <DC315DD3-D309-4473-BF93-743721D42082 at etr-usa dot com>
On Jul 2, 2015, at 6:46 PM, Warren Young <wyml@etr-usa.com> wrote:
>
> expand(1) goes way, way back before Cygwin. Not as far back as V7 Unix. Maybe 4.3BSD?
I did some research, and it turns out that thatâs all wrong. :)
According to the FreeBSD/Mac OS X man pages, expand(1) was first introduced in 3BSD (1978), which would put it a bit earlier than the public release of UNIX V7 (1979).
Although V7 did bring some stuff over from BSD â most notably vi â and the borrowings continued until the Great Reunification in SVR4, I canât find a manual reference to expand(1) in any AT&T Unix, not even the Research branches.
As far as I can tell, expand(1) wasnât standardized until 1997 as part of SUSv2:
http://pubs.opengroup.org/onlinepubs/007908799/xcu/expand.html
Weird.
That also means the comment about âbefore Cygwinâ is wrong, since that first appeared in 1995, before SUSv2. The Cygwin Time Machine doesnât have any pre-1997 releases of Cygwin, but I did find a 1996 tarball of GNU textutils, and it has expand(1), so it is highly likely that Cygwin had expand(1) before SUSv2 came out.
Wrong, wrong, wrong. So sad. :)
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple