.Dd 17 April 2017
.Dt PPBERT 1
.Os
.Sh NAME
.Nm ppbert
.Nd pretty print structures encoded in Erlang's External Term Format
.Sh SYNOPSIS
.Nm
.Op Ar OPTIONS
.Op Ar FILES Nm ...
.Sh DESCRIPTION
.Nm
parses and pretty prints a ETF-encoded file.
The files can either be passed on the command-line
piped through stdin.
.Pp
.Nm
accepts the following options:
.Bl -tag -width Ds
.It Fl h, -help
Display help
.It Fl V, -version
Display version
.El
.Sh RETURN VALUES
.Nm
returns 0 if all files have been successfully processed,
and 1 if any file failed to parse.
.Sh EXAMPLES
Pretty print the file foo.bert.
.Pp
.Dl
$ ppbert foo.bert
.Pp
Pretty print from stdin
.Dl
.Pp
$ printf \(dq\ex83\ex77\ex04atom\(dq | ppbert