X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fpspp-convert.1;h=6c8874a530ac5fcc2a3f5929dd5516757b0bfe39;hb=7d603b77e09ee8efb64449de10b75ad821eade69;hp=00828c2cb867b1fdbe0c65a28b5078d927174763;hpb=c64c9e72a7040c8b36aa8709848efc5c37b7b72e;p=pspp diff --git a/utilities/pspp-convert.1 b/utilities/pspp-convert.1 index 00828c2cb8..6c8874a530 100644 --- a/utilities/pspp-convert.1 +++ b/utilities/pspp-convert.1 @@ -7,7 +7,7 @@ .TH pspp\-convert 1 "October 2013" "PSPP" "PSPP Manual" . .SH NAME -pspp\-convert \- convert SPSS files to other formats +pspp\-convert \- convert SPSS data files to other formats . .SH SYNOPSIS \fBpspp\-convert\fR [\fIoptions\fR] \fIinput\fR \fIoutput\fR @@ -55,11 +55,13 @@ specify the format for unrecognized extensions. . .PP \fBpspp\-convert\fR can convert most input formats to most output -formats. Encrypted system file and syntax files are exceptions: if -the input file is in an encrypted format, then the output file must -be the same format (decrypted). +formats. Encrypted SPSS file formats are exceptions: if the input +file is in an encrypted format, then the output file will be the same +format (decrypted). Options for the output format are ignored in this +case. . .SH "OPTIONS" +.SS "General Options" . .IP "\fB\-O format\fR" .IQ "\fB\-\-output\-format=\fIformat\fR" @@ -79,12 +81,62 @@ Overrides the encoding in which character strings in \fIinput\fR are interpreted. This option is necessary because old SPSS system files do not self-identify their encoding. . +.IP "\fB\-k \fIvar\fR..." +.IQ "\fB\-\-keep=\fIvar\fR..." +Drops all variables except those listed as \fIvar\fR, and reorders the +remaining variables into the specified order. +. +.IP "\fB\-d \fIvar\fR..." +.IQ "\fB\-\-drop=\fIvar\fR..." +Drops each \fIvar\fR listed from the output. +. +.SS "CSV Output Options" +.PP +These options affect only output to \fB.csv\fR and \fB.txt\fR files. +.IP "\fB\-\-labels\fR" +By default, \fBpspp\-convert\fR writes variables' values to the output. +With this option, \fBpspp\-convert\fR writes value labels. +.IP "\fB\-\-no\-var\-names\fR" +By default, \fRpspp\-convert\fR\fR writes the variable names as the +first line of output. With this option, \fBpspp\-convert\fR omits +this line. +.IP "\fB\-\-recode\fR" +By default, \fBpspp\-convert\fR writes user-missing values as their +regular values. With this option, \fBpspp\-convert\fR recodes them to +system-missing values (which are written as a single space). + +.IP "\fB\-\-print\-formats\fR" +By default, \fBpspp\-convert\fR writes numeric variables as plain +numbers. This option makes \fBpspp\-convert\fR honor variables' +print formats. + +.IP "\fB\-\-decimal=\fIdecimal\fR" +This option sets the character used as a decimal point in output. The +default is a period (\fB.\fR). + +.IP "\fB\-\-delimiter=\fIdelimiter\fR" +This option sets the character used to separate fields in output. The +default is a comma (\fB,\fR), unless the decimal point is a comma, in +which case a semicolon (\fB;\fR) is used. + +.IP "\fB\-\-qualifier=\fIqualifier\fR" +The option sets the character used to quote fields that contain the +delimiter. The default is a double quote (\fB\(dq\fR). +. +.SS "Password Options" +When the input file is encrypted, \fBpspp\-convert\fR needs to obtain +a password to decrypt it. To do so, the user may specify the password +with \fB\-p\fR (or \fB\-\-password\fR), or the name of a file containing a +list of possible passwords with \fB\-\-password\-list\fR, or an +alphabet of possible passwords to try along with a maximum length with +\fB\-a\fR (or \fB\-\-password\-alphabet\fR) and \fB\-l\fR (or +\-\-password\-length\fR). If none of these options is used, +\fBpspp\-convert\fR prompts for the password. The password options +are: +. .IP "\fB\-p \fIpassword\fR" .IQ "\fB\-\-password=\fIpassword\fR" -Specifies the password to use to decrypt encrypted SPSS system file -or syntax file -\fIinput\fR. If this option is not specified, \fBpspp\-convert\fR -prompts for the password. +Specifies the password to use to decrypt the input file. . .IP On multiuser systems, this option may not be safe because other users @@ -103,6 +155,11 @@ characters long. When these options are used, \fB\-p\fR may additionally specify a starting point for the search. . +.IP "\fB\-\-password\-list=\fIfile\fR" +Specifies a file to read containing a list of passwords to try, one +per line. If \fIfile\fR is \fB\-\fR, reads from stdin. +. +.SS "Other Options" .IP "\fB\-h\fR" .IQ "\fB\-\-help\fR" Prints a usage message on stdout and exits. @@ -116,5 +173,6 @@ Ben Pfaff. . .SH "SEE ALSO" . +.BR pspp\-output (1), .BR pspp (1), .BR psppire (1).