FileNames

Command: FileNames


Description
FileNames reads contents of current working directory
via POSIX commands. Only files matching the regular expression
mask set in string/regex are used.
Parameters
string : a mask converted to the regex
regex : the regular expression used to filter files
array : an array of strings containing matched files
Author
Hehl
Bugs
see remarks
Synopsis
string FileNames -> array
regex FileNames -> array
Examples
(.*) FileNames -> all files of current directory
Remember that POSIX regex and those used by ls are not
necessarily the same !
File
lib/sli/filesystem.sli
Remarks
Sorting of files done by :sort a dummy UNIX sorter which
is far from protable!
FirstVersion