Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: awk problem
On Thu, Mar 25, 2004 at 02:24:23PM +0000, Andreas Kahari wrote:
> On Thu, Mar 25, 2004 at 10:52:20PM +0900, Shin'ichiro TAYA wrote:
[cut]
> > Is this a problem of nawk ?
> > Or is this a GNU awk specific extention?
>
> It's a GNU specific extention. POSIX awk is only required to
> handle the following escape sequences:
Forgot the meanings.
>
> \" Backslash quotation-mark
Meaning: Quotation-mark character
> \/ Backslash slash
Meaning: Slash character
> \ddd A backslash character followed by the longest
> sequence of one, two, or three octal-digit characters
> (01234567). If all of the digits are 0 (that is,
> representation of the NUL character), the behavior is
> undefined.
Meaning: The character whose encoding is represented by the one,
two, or three-digit octal integer. Multi-byte characters require
multiple, concatenated escape sequences of this type, including
the leading '\' for each byte.
> \c A backslash character followed by any character not
> described in this table or in the table in the Base
> Definitions volume of IEEE Std 1003.1-2001, Chapter 5,
> File Format Notation ( '\\' , '\a' , '\b' , '\f' , '\n'
> , '\r' , '\t' , '\v' ).
Meaning: Undefined.
The addition of hex escapes in gawk was made in version 3.1.
--
Andreas Kähäri |><><|
|<><>|
East Anglia |><><|
England |<><>|
Home |
Main Index |
Thread Index |
Old Index