|
NAMEtranslit - translates charactersSYNOPSIStranslit [ options ] from_string to_string [file1 ... filen]DESCRIPTIONTranslit performs a character substitution, changing the characters specified in the from_string to the corresponding characters in the to_string. Since the mapping is done one to one, the from_string must be equal to or larger than the to_string. If the from_string is larger, the end of the from set is mapped to the last character of the to set.The files are not modified, all output is written to standard out. If no files are specified, translit reads from standard input. OPTIONS
OPERANDSThe following notations of characters are supported:c Any single byte character not described below \ddd Represents octal notations of characters \\ Represents the backslash \a Represents the audible bell \b Represents the backspace character \f Represents the formfeed character \n Represents the newline character \r Represents the carriage return character \t Represents the tab character \v Represents the vertical tab character NOTESWhen the to_string is smaller than the from_string, multiple occurrences of the folded characters are not generated. Translating all letters, white space and punctuation, to X's, for example, will cause only a single X to appear on the output stream.If the to_string is empty, all occurrences of input characters that are specified in from_string are deleted and produce no output. You can use reverse ranges,
will change every a to z and every z to a and so forth. If an ordinary digit in the octal range is following an octal sequence, the octal sequence must use three octal digits. If from_string or to_string start with the unescaped character '^', the related set is complemented. BUGS
Visit the GSP FreeBSD Man Page Interface. |