TÊN
- Provided by: manpages-vi (Version: 4.31.0-1)
- Source: manpages-l10n
- Report a bug
tr [OPTION]... STRING1 [STRING2]
Translate, squeeze, and/or delete characters from standard input, writing to standard output. STRING1 and STRING2 specify arrays of characters ARRAY1 and ARRAY2 that control the action.
ARRAYs are specified as strings of characters. Most represent themselves. Interpreted sequences are:
Translation occurs if -d is not given and both STRING1 and STRING2 appear. -t is only significant when translating. ARRAY2 is extended to length of ARRAY1 by repeating its last character as necessary. Excess characters of ARRAY2 are ignored. Character classes expand in unspecified order; while translating, '[:lower:]' and '[:upper:]' may be used in pairs to specify case conversion. Squeezing occurs after translation or deletion. Arguments like '[...]' should be quoted, to avoid potential shell globbing.
Full support is available only for safe single-byte locales, in which every possible input byte represents a single character. The C locale is safe in GNU systems, so you can avoid this issue in the shell by running LC_ALL=C tr instead of plain tr.
Viết bởi Jim Meyering.
Thông báo lỗi cho:
<bug-coreutils@gnu.org>. Thông báo lỗi
dịch cho: <http://translationproject.org/team/vi.html>.
Trang chủ GNU coreutils:
<https://www.gnu.org/software/coreutils/>
Trợ giúp chung về sử dụng phần
mềm GNU: <https://www.gnu.org/gethelp/>
Report any translation bugs to
<https://translationproject.org/team/>
Tài liệu đầy đủ
có tại: <https://www.gnu.org/software/coreutils/tr>
hoặc sẵn có nội bộ thông qua: info
'(coreutils) tr invocation'
Packaged by Debian (9.10-1)
Copyright © 2026 Free Software Foundation, Inc.
Giấy phép GPL pb3+ : Giấy phép Công
cộng GNU phiên bản 3 hay sau
<https://gnu.org/licenses/gpl.html>.
Đây là phần mềm tự do: bạn
có quyền sửa đổi và phát
hành lại nó.
KHÔNG CÓ BẢO HÀNH GÌ CẢ, với
điều khiển được pháp
luật cho phép.
Bản dịch tiếng Việt của trang hướng dẫn này do
thực hiện.
Bản dịch này là Tài liệu Miễn phí; đọc Giấy phép Công cộng GNU Phiên bản 3 hoặc mới hơn để biết các điều khoản bản quyền. Chúng tôi cho rằng KHÔNG CÓ TRÁCH NHIỆM PHÁP LÝ.
Nếu bạn tìm thấy một số sai sót trong bản dịch của trang hướng dẫn này, vui lòng gửi thư đến TODO.