filename:dirname(".").

Richard A. O'Keefe <>
Tue Oct 5 02:18:57 CEST 2004


	"Ulf Wiger (AL/EAB)" <> wrote:
	>On my Solaris box, basename and dirname are synonymous.

	Per Hedeland <> replied:
	Surely not:
with an example.

They are not synonymous on my Solaris 2.9 box either.  They don't
even have the same number of arguments.

The only variation I'm aware of between UNIX systems is whether
the "suffix" argument basename(1) is a literal string or an expr(1)-style
pattern (internationalised basic regular expression).
	



More information about the erlang-questions mailing list