/doc/sefun/get_dir_ext
SYNOPSIS
-
string *get_dir_ext(string str)
DESCRIPTION
-
This function takes a path as argument and returns an array of file
names in that directory. It basically does the same as the efun
get_dir(), but appends a slash '/' to directory filenames and '*' to
files which are loaded.
EXAMPLE
-
get_dir("/w");
This returns ({ "w/" }).
get_dir("/w/*");
Returns the contents of the directory "/w".
get_dir("/room/*.c");
Returns all files of the directory "/room/" with the ending ".c".
SEE ALSO
-
get_dir
-
cat
-
mkdir
-
rmdir
Nightfall@quest.tat.physik.uni-tuebingen.de
Automatically generated on Fri, Aug 2, 1996