The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] The nameless horror of dotfiles [was (no subject)]
@ 2003-05-23 13:40 Norman Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Norman Wilson @ 2003-05-23 13:40 UTC (permalink / raw)


Dennis Ritchie, on ls discarding all names beginning with .:

  UCB or USL did this (I'm sure which first).
  Both tended to use more . files.

Judging by the manuals, Research did it first.  In every manual from
1/e to 6/e, the entry for ls(I) has this description for the -a option:

	list all entries; usually those beginning with "." are suppressed

I always thought this was just a quick-and-dirty way to skip the . and ..
entries; the sort of shortcut that was common in the good old days when
everything was written in assembly language.

That the USL system kept the old convention probably reflects its PWB
heritage; both the latter system and that of Berkeley had already invented
lots of configuration files clumsily hidden by putting . at the beginning--
more than ls had options at the time--and I guess they felt it was better
to let sleeping dots lie.

Incidentally, in 1/e ls(I) had a whopping five options: l, t, a, s, and d,
each with the same meaning as now (except that -s is described simply as
`give size in blocks for each entry' with nothing about accounting for
indirect blocks or other overhead).  Who says we haven't made decadence,
er, progress over the years?

Norman Wilson
Toronto ON

PS: I've lost track.  Did the original Subject: line of this thread of
conversation get lost because it began with a dot?



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

* [TUHS] The nameless horror of dotfiles [was (no subject)]
@ 2003-05-24  4:17 Dennis Ritchie
  0 siblings, 0 replies; 2+ messages in thread
From: Dennis Ritchie @ 2003-05-24  4:17 UTC (permalink / raw)


The omniscient Norman seems to have nailed me:

 > Judging by the manuals, Research did it first.  In every manual from
 > 1/e to 6/e, the entry for ls(I) has this description for the -a option:

 > 	list all entries; usually those beginning with "." are suppressed

I suspect that in v7 (where .thing was indeed listed by default)
we decided that since .thing was a real file in the
directory it was better to list it instead of hiding it
by default.  (Seeing . and .. seemed  seldom interesting,
however).

I was solely (and much more recently) responsible for the lack
of subject header in my earlier reply.

	Dennis



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

end of thread, other threads:[~2003-05-24  4:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-23 13:40 [TUHS] The nameless horror of dotfiles [was (no subject)] Norman Wilson
2003-05-24  4:17 Dennis Ritchie

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