Glob (programming) - Technical

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:

    I rather think the cinema will die. Look at the energy being exerted to revive it—yesterday it was color, today three dimensions. I don’t give it forty years more. Witness the decline of conversation. Only the Irish have remained incomparable conversationalists, maybe because technical progress has passed them by.
    Orson Welles (1915–1984)

    Woman is the future of man. That means that the world which was once formed in man’s image will now be transformed to the image of woman. The more technical and mechanical, cold and metallic it becomes, the more it will need the kind of warmth that only the woman can give it. If we want to save the world, we must adapt to the woman, let ourselves be led by the woman, let ourselves be penetrated by the Ewigweiblich, the eternally feminine!
    Milan Kundera (b. 1929)

    A technical objection is the first refuge of a scoundrel.
    Heywood Broun (1888–1939)