doc: sort: give example for sorting on the last field
[coreutils.git] / man / basenc.x
blobfbb450c290a9b7de957ab92e7c7b9063d2a9c41c
1 '\" Copyright (C) 2018-2024 Free Software Foundation, Inc.
2 '\"
3 '\" This is free software.  You may redistribute copies of it under the terms
4 '\" of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
5 '\" There is NO WARRANTY, to the extent permitted by law.
6 [NAME]
7 basenc \- Encode/decode data and print to standard output
8 [DESCRIPTION]
9 .\" Add any additional description here
10 [ENCODING EXAMPLES]
11 .PP
12 .nf
13 .RS
14 $ printf '\\376\\117\\202' | basenc \-\-base64
15 /k+C
17 $ printf '\\376\\117\\202' | basenc \-\-base64url
18 _k-C
20 $ printf '\\376\\117\\202' | basenc \-\-base32
21 7ZHYE===
23 $ printf '\\376\\117\\202' | basenc \-\-base32hex
24 VP7O4===
26 $ printf '\\376\\117\\202' | basenc \-\-base16
27 FE4F82
29 $ printf '\\376\\117\\202' | basenc \-\-base2lsbf
30 011111111111001001000001
32 $ printf '\\376\\117\\202' | basenc \-\-base2msbf
33 111111100100111110000010
35 $ printf '\\376\\117\\202\\000' | basenc \-\-z85
36 @.FaC
37 .RE
38 .fi