.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
.\"See Also:
.\"man mdoc.samples for a complete listing of options
.\"man mdoc for the short list of editing options
.Dd 9/2/13               \" DATE 
.Dt mulle-plist-compress 8      \" Program name and manual section number 
.Os Darwin
.Sh NAME                 \" Section Header - required - don't modify 
.Nm mulle-plist-compress
.\" The following lines are read in generating the apropos(man -k) database. Use only key
.\" words here as the database is built based on the words here and in the .ND line. 
.\" Use .Nm macro to designate other names for the documented program.
.Nd Compress and format a property list for inclusion in C code.
.Sh SYNOPSIS             \" Section Header - required - don't modify
.Op Fl s Ar style       
.Op Fl c Ar compression
.Op Fl e Ar format
.Sh DESCRIPTION          \" Section Header - required - don't modify
Reads a 
.Em property plist 
from standard input and writes it's result to standard output. The 
.Em property list
is by default space optimized and escaped to be used in a C-String. The options are 
processed in the order s, c, e. 
.Pp                      \" Inserts a space
The following options are available:
.Bl -tag -width -indent  \" Differs from above in tag removed 
.It Fl s                 \"-s flag as a list item
Change the style of the produced property list:
.Sy condensed
only outputs a minimal number of characters for the property list (default).
.Sy pretty
is the output created by -[NSObject description].
.Sy xml
produces XML property list output.
.Sy binary
produces binary property list output.
.It Fl c                  \"-c flag as a list item
Use a binary compression method:
.Sy none
to not compress (default), use 
.Sy zlib
to create a zlib compressed blob.
.It Fl e                 \"-e flag as a list item
Choose an output format:
.Sy escaped
for inclusion into a C-String (default). Not useful in combination with compression.
.Sy plain
for output as is.
.Sy hex
to output in hexadecimal format for inclusion in a unsigned char C-Array.
.El                      \" Ends the list
.Sh ENVIRONMENT      \" May not be needed
.Bl -tag -width "MULLE_PLIST_HEADER"
The contents of this environment variable are prepended to the output.
The contents of this environment variable are appended to the output.
.Xr mulle-plist-from-files 8
.Xr mulle-plist-hack 8
.Xr mulle-plist-fix 8
Coded by Nat! 2013, Mulle kybernetiK. www.mulle-kybernetik.com. The latest 
version should be available at: