tr.1 (126b754db4f53cb11ff1367cfb59cc02427afe51) | tr.1 (c2965cd1854b75e6a13cb4bd6759b71adc8d2a87) |
---|---|
1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 132 unchanged lines hidden (view full) --- 141A backslash followed by 1, 2 or 3 octal digits represents a character 142with that encoded value. 143To follow an octal sequence with a digit as a character, left zero-pad 144the octal sequence to the full 3 octal digits. 145.It \echaracter 146A backslash followed by certain special characters maps to special 147values. 148.Bl -column "\ea" | 1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 132 unchanged lines hidden (view full) --- 141A backslash followed by 1, 2 or 3 octal digits represents a character 142with that encoded value. 143To follow an octal sequence with a digit as a character, left zero-pad 144the octal sequence to the full 3 octal digits. 145.It \echaracter 146A backslash followed by certain special characters maps to special 147values. 148.Bl -column "\ea" |
149.It "\ea <alert character> 150.It "\eb <backspace> 151.It "\ef <form-feed> 152.It "\en <newline> 153.It "\er <carriage return> 154.It "\et <tab> 155.It "\ev <vertical tab> | 149.It "\ea <alert character>" 150.It "\eb <backspace>" 151.It "\ef <form-feed>" 152.It "\en <newline>" 153.It "\er <carriage return>" 154.It "\et <tab>" 155.It "\ev <vertical tab>" |
156.El 157.Pp 158A backslash followed by any other character maps to that character. 159.It c-c 160For non-octal range endpoints 161represents the range of characters between the range endpoints, inclusive, 162in ascending order, 163as defined by the collation sequence. --- 8 unchanged lines hidden (view full) --- 172differences in the way the current 173implementation interprets range expressions differently from 174previous implementations. 175.Ef 176.It [:class:] 177Represents all characters belonging to the defined character class. 178Class names are: 179.Bl -column "phonogram" | 156.El 157.Pp 158A backslash followed by any other character maps to that character. 159.It c-c 160For non-octal range endpoints 161represents the range of characters between the range endpoints, inclusive, 162in ascending order, 163as defined by the collation sequence. --- 8 unchanged lines hidden (view full) --- 172differences in the way the current 173implementation interprets range expressions differently from 174previous implementations. 175.Ef 176.It [:class:] 177Represents all characters belonging to the defined character class. 178Class names are: 179.Bl -column "phonogram" |
180.It "alnum <alphanumeric characters> 181.It "alpha <alphabetic characters> 182.It "blank <whitespace characters> 183.It "cntrl <control characters> 184.It "digit <numeric characters> 185.It "graph <graphic characters> 186.It "ideogram <ideographic characters> 187.It "lower <lower-case alphabetic characters> 188.It "phonogram <phonographic characters> 189.It "print <printable characters> 190.It "punct <punctuation characters> 191.It "rune <valid characters> 192.It "space <space characters> 193.It "special <special characters> 194.It "upper <upper-case characters> 195.It "xdigit <hexadecimal characters> | 180.It "alnum <alphanumeric characters>" 181.It "alpha <alphabetic characters>" 182.It "blank <whitespace characters>" 183.It "cntrl <control characters>" 184.It "digit <numeric characters>" 185.It "graph <graphic characters>" 186.It "ideogram <ideographic characters>" 187.It "lower <lower-case alphabetic characters>" 188.It "phonogram <phonographic characters>" 189.It "print <printable characters>" 190.It "punct <punctuation characters>" 191.It "rune <valid characters>" 192.It "space <space characters>" 193.It "special <special characters>" 194.It "upper <upper-case characters>" 195.It "xdigit <hexadecimal characters>" |
196.El 197.Pp 198.\" All classes may be used in 199.\" .Ar string1 , 200.\" and in 201.\" .Ar string2 202.\" when both the 203.\" .Fl d --- 218 unchanged lines hidden --- | 196.El 197.Pp 198.\" All classes may be used in 199.\" .Ar string1 , 200.\" and in 201.\" .Ar string2 202.\" when both the 203.\" .Fl d --- 218 unchanged lines hidden --- |