logo

utils-std

Collection of commonly available Unix tools
commit: 7e734462c1628962c49dd20457b5f75473926584
parent 237e6a28a0b91ada9146ccd8d9049b72f396c563
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  1 Nov 2023 11:09:09 +0100

cmd/base64.1: New manpage

Diffstat:

Acmd/base64.135+++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+), 0 deletions(-)

diff --git a/cmd/base64.1 b/cmd/base64.1 @@ -0,0 +1,35 @@ +.\" utils-std: Collection of commonly available Unix tools +.\" Copyright 2017-2023 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> +.\" SPDX-License-Identifier: MPL-2.0 +.Dd 2023-11-01 +.Dt BASE64 1 +.Os +.Sh NAME +.Nm base64 +.Nd encode/decode base64 data to standard output +.Sh SYNOPSIS +.Nm +.Op Fl d +.Op Ar file ... +.Sh DESCRIPTION +.Nm +reads +.Ar file , +encodes or decodes in base64 and writes the results into standard output. +If no +.Ar file +is given, +.Nm +reads from the standard input. +.Sh OPTIONS +.Bl -tag -width Ds +.It Fl d +Decode input instead of encoding it. +.El +.Sh EXIT STATUS +.Ex -std +.Sh STANDARDS +.Nm +follows base64 as defined in RFC3548 and RFC4648. +.Sh AUTHORS +.An Haelwenn (lanodan) Monnier Aq Mt contact@hacktivis.me