On 12/17/2010 08:01 PM, Stefan Weil wrote:
I currently have no possibility to run tests with other awk implementations, so I cannot tell whether \012 is needed at all (\r is not a new invention). Do all awk versions support regular expressions with characters in octal encoding?.
The awk manual reports \b, \f and \r as unportable, and says that \a, \v, \x have been introduced after those. \x is not in POSIX.
That leaves \a, \n, \t, \v and \NNN as portable. Paolo