Notice that there are two files named g . Every component of a path name is a directory except the final component. The final component of a path name can be a file name. Regular expressions allow you to select specific strings from a set of character strings. The use of regular expressions is generally associated with text processing.
Regular expressions can represent a wide variety of possible strings.
While many regular expressions can be interpreted differently depending on the current locale, internationalization features provide for contextual invariance across locales. See the awk command in the AIX Version 4.3 Commands Reference for the exact syntax.