On Thu, 14 Jul 2005 14:16:24 +0800, Bo Xie <[EMAIL PROTECTED]> wrote:
>Hi, > > In z/OS V1R6.0 UNIX System Services Command >Reference(SA22-7802- 06,http://publibz.boulder.ibm.com/epubs/pdf/bpxza550.pdf) >page 30-31, it shows an example for literal strings as regular >expressions. >---------------------------------- >Note: When you use literal strings as regular expressions, you need >extra backslashes to escape regular expression metacharacters, because >the backslash is also the literal string escape character. For example >the regular expression: > >/e .g\7./ > >when written as a string is: > >"e .g .." >---------------------------------- > What does "\7" means? Who will be so kind to give me more detailed >description for the above awk regular expression example? Thank you >very much! > It looks like an error in the document. The same error is in the BookManager version at http://publibz.boulder.ibm.com/cgi- bin/bookmgr_OS390/BOOKS/BPXZA550/SHCMDDES.AWK.3.1 An example of the correct text is at: http://www.mkssoftware.com/docs/man1/awk.1.asp which says: /e\.g\./ when written as a string is: "e\\.g\\." Bill Godfrey ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

