Found: a version of 'make' that uses a MAKEPATH

Guy Riddle ggr at pyuxbb.UUCP
Fri Sep 30 02:15:27 AEST 1983


I forgot to mention an interesting trifle about VPATH yesterday.
The directories in the VPATH search path can be separated by ':'s,
as you might expect, or they may be separated by '-'s, which
you wouldn't unless you were a UNIX history buff.

The separation of directories by hypens is apparently a "compatability
feature" from the dark past.  It seems that a very early version of
the Bourne shell, when it was called /bin/bsh and wasn't the "real"
shell yet, separated directory names in the PATH variable with hyphens.
When Steve changed to colons, bunches of programs were fixed to
handle either one.  Apparently there remain places where this legacy
lives on.

So watch out if you like to put hyphens in your directory names.

			=== Guy Riddle == AT&T Bell Laboratories, Piscataway ===



More information about the Comp.unix.wizards mailing list