Sponsor:

Your company here, and a link to your site. Click to find out more.

sexpp - Man Page

Read, parse, and print out S-expressions

Synopsis

cat certificate-file | sexpp -a -x

Description

sexpp typically reads an S-expression from standard input and rewrites it to standard output.

Running without switches implies: -p -a -b -c -x

Input Options

-i filename
Takes input from file instead of stdin.
-p

Prompts user for console input.

-s

Treat input up to EOF as a single string, instead of parsing.

Control Loop

The main routine typically reads one S-expression, prints it out again, and stops.  This may be modified:

-x

Execute main loop repeatedly until end of file.

Output Options

The output format is normally canonical, but this can be changed. More than one output format can be requested at once.

-o filename

Write output to file instead of stdout.

-a

Write output in advanced transport format.

-b

Write output in base-64 output format.

-c

Write output in canonical format.

-l

Suppress linefeeds after output.

-w width

Changes line width to specified width (0 implies no line-width constraint). Default: 75

Author

The sexpp 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.

See Also

https://datatracker.ietf.org/doc/draft-rivest-sexp/

Info

June 2023