[comp.bugs.4bsd] undocumented csh feature

rk9005@cca.ucsf.edu (Roland McGrath) (05/01/88)

I noticed a csh feature which is not documented anywhere:
If you cd to a directory found in $cdpath (and not in .),
it will print your dirstack for you.

Personally, I don't really care if it does this or not.
I only noticed it as being strange when I made an alias cd -> cd !*; dirs
and it printed the dirstack twice.

Somebody should either remove this feature or document it.
Which of those to do is up to whoever is going to do one of them.