Technical
Unix globbing operates by parameter expansion – the glob pattern (e.g., *.log) is expanded and replaced by the list of all matches. For example, if a directory contains two files, a.log and b.log then the command cat *.log will be expanded by the shell to cat a.log b.log which is then evaluated (in this case, displaying the files). The order of arguments to a command often matters – for example, cat a.log b.log prints first a.log and then b.log, while cat b.log a.log prints first b.log and then a.log. Thus, while "filenames that match the pattern" is an (unordered) set, the actual expanded list of matching files is an ordered list, a sequence, and thus an order must be chosen, conventionally alphabetical order, however defined by the shell.
Read more about this topic: Glob (programming)
Famous quotes containing the word technical:
“In middle life, the human back is spoiling for a technical knockout and will use the flimsiest excuse, even a sneeze, to fall apart.”
—E.B. (Elwyn Brooks)
“Where there is the necessary technical skill to move mountains, there is no need for the faith that moves mountains.”
—Eric Hoffer (19021983)
“In effect, to follow, not to force the public inclination; to give a direction, a form, a technical dress, and a specific sanction, to the general sense of the community, is the true end of legislature.”
—Edmund Burke (17291797)