summaryrefslogtreecommitdiffstats
path: root/man/sexpp.1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:26:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:26:42 +0000
commitdaf0485ec77463dbaeba3b1b0ffeefc8a89f5399 (patch)
tree1542cc4a202acd6b3e3b7c1729ede0e94750b691 /man/sexpp.1
parentInitial commit. (diff)
downloadsexpp-upstream.tar.xz
sexpp-upstream.zip
Adding upstream version 0.8.7.upstream/0.8.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--man/sexpp.167
1 files changed, 67 insertions, 0 deletions
diff --git a/man/sexpp.1 b/man/sexpp.1
new file mode 100644
index 0000000..5a6965c
--- /dev/null
+++ b/man/sexpp.1
@@ -0,0 +1,67 @@
+.TH SEXPP "1" "June 2023" "sexpp" "User Commands"
+
+.SH NAME
+
+sexpp - Read, parse, and print out S-expressions
+
+.SH SYNOPSIS
+
+.B cat certificate-file | sexpp -a -x
+
+.SH DESCRIPTION
+
+\fBsexpp\fP typically reads an S-expression from standard input and rewrites it to standard output.
+
+Running without switches implies: -p -a -b -c -x
+
+.SH INPUT OPTIONS
+
+.B -i filename
+Takes input from file instead of stdin.
+.TP
+.B -p
+Prompts user for console input.
+.TP
+.B -s
+Treat input up to EOF as a single string, instead of parsing.
+
+.SH CONTROL LOOP
+
+The main routine typically reads one S-expression, prints it out again, and stops. This may be modified:
+.TP
+.B -x
+Execute main loop repeatedly until end of file.
+
+.SH OUTPUT OPTIONS
+
+The output format is normally canonical, but this can be changed.
+More than one output format can be requested at once.
+
+.TP
+.B -o filename
+Write output to file instead of stdout.
+.TP
+.B -a
+Write output in advanced transport format.
+.TP
+.B -b
+Write output in base-64 output format.
+.TP
+.B -c
+Write output in canonical format.
+.TP
+.B -l
+Suppress linefeeds after output.
+.TP
+.B -w width
+Changes line width to specified width (0 implies no line-width constraint). Default: 75
+
+.SH AUTHOR
+
+The \fBsexpp\fP project is maintained by Maxim Samsonov on behalf of Ribose, Inc.
+It is based on code from Ron Rivest and Butler Lampson.
+This manual page was written by Daniel Kahn Gillmor for the Debian project, but may be used by others.
+
+.SH SEE ALSO
+
+https://datatracker.ietf.org/doc/draft-rivest-sexp/