diff options
author | ru <ru@FreeBSD.org> | 2005-01-11 10:32:29 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-01-11 10:32:29 +0000 |
commit | 6958048f64185cbbe3382b5d763584dab18f088d (patch) | |
tree | 0b6839c3e629d3316c5cab0a6de1164d61e31644 | |
parent | 437e41e06166553a5fe9ae4ea95f3fc1ca07fff1 (diff) | |
download | FreeBSD-src-6958048f64185cbbe3382b5d763584dab18f088d.zip FreeBSD-src-6958048f64185cbbe3382b5d763584dab18f088d.tar.gz |
Formatting fixes.
(This exposes a bug in mdoc(7) for which a patch has been sent upstream.)
-rw-r--r-- | usr.bin/tr/tr.1 | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/usr.bin/tr/tr.1 b/usr.bin/tr/tr.1 index fff9ef7..1c81615 100644 --- a/usr.bin/tr/tr.1 +++ b/usr.bin/tr/tr.1 @@ -171,7 +171,9 @@ represents the range of specific coded values between the range endpoints, inclusive. .Pp .Bf Em -See the COMPATIBILITY section below for an important note regarding +See the +.Sx COMPATIBILITY +section below for an important note regarding differences in the way the current implementation interprets range expressions differently from previous implementations. @@ -292,7 +294,7 @@ Translate the contents of file1 to upper-case. (This should be preferred over the traditional .Ux idiom of -.Ql "tr a-z A-Z" , +.Dq Li "tr a-z A-Z" , since it works correctly in all locales.) .Pp Strip out non-printable characters from file1. @@ -312,11 +314,11 @@ implementations of .Nm did not order characters in range expressions according to the current locale's collation order, making it possible to convert unaccented Latin -characters (esp. as found in English text) from upper to lower case using +characters (esp.\& as found in English text) from upper to lower case using the traditional .Ux idiom of -.Ql "tr A-Z a-z" . +.Dq Li "tr A-Z a-z" . Since .Nm now obeys the locale's collation order, this idiom may not produce @@ -325,13 +327,13 @@ upper case, or when the order of characters within the two cases differs. As noted in the .Sx EXAMPLES section above, the character class expressions -.Ql "[:lower:]" +.Dq Li [:lower:] and -.Ql "[:upper:]" +.Dq Li [:upper:] should be used instead of explicit character ranges like -.Ql "a-z" +.Dq Li a-z and -.Ql "A-Z" . +.Dq Li A-Z . .Pp System V has historically implemented character ranges using the syntax .Dq Li [c-c] @@ -367,7 +369,7 @@ Additionally, any scripts that depended on the sequence to represent the three characters .Ql a , -.Ql \&- +.Ql \- and .Ql z will have to be |