sexp-conv.lsh-utils1
Convert s-expression to a different encoding
Usage
sexp_conv [options]
Overview
This manual page documents briefly the sexp_conv command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below.
sexp_conv is a program that converts S-expressions (keys and most other objects which `lsh' needs to store on disk)
Options
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files.
-
--hash=algorithm -
Hash algorithm (default: sha1).
-
--once -
Process at most one s-expression.
-
--raw-hash -
Output the hash for the canonical representation of the object, in hexadecimal.
-
--spki-hash -
Output an SPKI hash for the object.
-
--debug -
Print huge amounts of debug information.
-
-q, --quiet -
Supress all warnings and diagnostic messages.
-
--trace -
Detailed trace.
-
-v, --verbose -
Verbose diagnostic messages.
-
-i, --input-format=format -
Variant of S-expression to accept. Valid S-expression formats are: transport, canonical, advanced and international.
-
-o, --output-format=format -
Variant of S-expression to output. Valid S-expression formats are: transport, canonical, advanced and international.
-
-?, --help -
Show summary of options.
-
--usage -
Give a short usage message.
-
-v, --version -
Show version of program.