summaryrefslogtreecommitdiff
path: root/man/base64.1
blob: 6dc283f74039612fa3e6e7b722545287f7ea94e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
.TH BASE64 "1" "March 2007" "GNU coreutils 6.9" "User Commands"
.SH NAME
base64 \- base64 encode/decode data and print to standard output
.SH SYNOPSIS
.B base64
[\fIOPTION\fR] [\fIFILE\fR]
.SH DESCRIPTION
.\" Add any additional description here
.PP
Base64 encode or decode FILE, or standard input, to standard output.
.TP
\fB\-w\fR, \fB\-\-wrap\fR=\fICOLS\fR
Wrap encoded lines after COLS character (default 76).
Use 0 to disable line wrapping.
.TP
\fB\-d\fR, \fB\-\-decode\fR
Decode data.
.TP
\fB\-i\fR, \fB\-\-ignore\-garbage\fR
When decoding, ignore non\-alphabet characters.
.TP
\fB\-\-help\fR
Display this help and exit.
.TP
\fB\-\-version\fR
Output version information and exit.
.PP
With no FILE, or when FILE is \-, read standard input.
.PP
The data are encoded as described for the base64 alphabet in RFC 3548.
When decoding, the input may contain newlines in addition to the bytes of
the formal base64 alphabet.  Use \fB\-\-ignore\-garbage\fR to attempt to recover
from any other non\-alphabet bytes in the encoded stream.
.SH AUTHOR
Written by Simon Josefsson.
.SH "REPORTING BUGS"
Report bugs to <bug\-coreutils@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2007 Free Software Foundation, Inc.
.br
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
The full documentation for
.B base64
is maintained as a Texinfo manual.  If the
.B info
and
.B base64
programs are properly installed at your site, the command
.IP
.B info base64
.PP
should give you access to the complete manual.