[TUHS] tabs vs spaces - entab, detab

Nemo Nusquam cym224 at gmail.com
Fri Mar 5 05:23:18 AEST 2021


On 04/03/2021 13:31, arnold at skeeve.com wrote (in part):
> Traditionalists (or at least, I, speaking for myself) use tabs in
> their C, C++, and shell code and *must* use tabs in their Makefiles.
Yes in Makefiles, otherwise I prefer 4 spaces per stop.

> The Python world is different; there the use of spaces and a tab stop
> of 4 characters is common.
I recall two colleagues working on the same Python-based project.  One 
used a 3-column tab; the other used 8-column spaces.  Few fireworks as 
the other simply filtered.

> I don't remember the details of entab and detab programs on Unix
> (other than the expand command)
This begs a question from me.  My Solaris boxes have expand/unexpand but 
no entab/detab.  What is the history there?

N.


More information about the TUHS mailing list