This is like filename globbing , where the shell will try to autocomplete based on a wildcard wildcard ... for example ....
echo foo *
will display all files in the current directory, starting with 'foo' ... the bash globbed shell wildcard and expanded it to the list of files ...
MSDOS had a similar concept, although it was not explicitly tied at runtime, I'm talking about the old Turbo C thing, when wildcard pushing was activated by referencing "wildargs.obj" (if my memory serves me correctly), internally, this code will Go through the directory and expand the list based on a wildcard.
On Linux / * nix land, globbing is standard, but, however, you cannot manually press the Tab Tab key to perform pattern matching or completion ... since different terminals can translate the tab key differently and, of course, process it by differently ...
t0mm13b
source share