pspp-output(1)
π pspp-output β the PSPP manual, bestie edition π
okay so this is pspp-output(1) from the PSPP Manual, and I'm literally about to make SPSS viewer files make sense to you. buckle up π
β¨ NAME β¨
pspp-output β convert and operate on SPSS viewer (SPV) files
πΈ SYNOPSIS πΈ
pspp-output detect file
pspp-output [options] dir file
pspp-output [options] convert source destination
pspp-output [options] get-table-look source destination
pspp-output [options] convert-table-look source destination
pspp-output --help | -h
pspp-output --version | -v
π¦ DESCRIPTION π¦
pspp-output is a command-line utility that rolls with PSPP, and it does so many things to SPSS viewer files, or .spv files, which we're gonna call SPV files from here on. no cap. SPSS 16 and later writes SPV files to represent what's in its output editor. that's the whole vibe.
SPSS 15 and earlier instead used .spo files. pspp-output does NOT support that format. sorry bestie, not happening π
pspp-output has a bunch of subcommands, and they each get their own little section below. it also has several undocumented command forms that developers may find useful for debugging. iykyk π
π§ The detect command
when you invoke it as pspp-output detect file, pspp-output reads enough of file to figure out whether it's an SPV file. if it is, it exits successfully and says absolutely nothing. silent queen behavior. but when file is not an SPV file, or if some other error happens, pspp-output prints an error message and exits with a failure indication. π
π The dir command
when you invoke it as pspp-output dir file, pspp-output prints a table of contents for the SPV file file on stdout. by default, this table lists every object in the file, except for hidden objects. see the Input Selection Options section below for how to pick a subset of objects. π
the following extra option for dir is intended mainly for use by PSPP developers:
--member-namesβ also show the names of the Zip members associated with each object.
π₯ The convert command
when you invoke it as pspp-output convert source destination, pspp-output reads the SPV file source and converts it to another format, writing the output to destination. iconic.
by default, pspp-output infers the intended format for destination from its extension. the known extensions are generally: csv html list odt pdf ps spv svg txt. use --help to see an accurate list, since a given installation might be built without support for some formats. (yes, really, it depends on how it was built π«Ά)
see the Input Selection Options section below for how to select a subset of objects to include in the output. the following additional options are accepted:
-O format=formatβ overrides the format inferred from the output file's extension. format must be one of the extensions listed above.-O option=valueβ sets an option for the output file format. refer to the PSPP manual for details of the available output options.-F,--forceβ by default, if the source is corrupt or otherwise cannot be processed, the destination is not written. these option makepspp-outputwrite the output as best it can, even with errors. (yes it says "these option", we're keeping it, it's part of the charm π)--table-look=fileβ reads a table style from file and applies it to all of the output tables. the file should a TableLook.sttor.tlofile.--use-page-setupβ by default, theconvertcommand uses the default page setup (for example, page size and margins) for destination, or the one specified with-Ooptions, if any. specify this option to ignore these sources of page setup in favor of the one embedded in the SPV, if any.
π The get-table-look command
when you invoke it as pspp-output get-table-look source destination, pspp-output reads SPV file source, applies any selection options (as described under Input Selection Options below), picks the first table from the selected object, extracts the TableLook from that table, and writes it to destination (typically with an .stt extension) in the TableLook XML format. slay β¨
use - for source to instead write the default look to destination.
you can then use that TableLook file to change the style of tables in other files, by passing it to the --table-look option on the convert command. cute, right? π
π The convert-table-look command
when you invoke it as pspp-output convert-table-look source destination, pspp-output reads a .stt or .tlo file source, and writes it back to destination (typically with an .stt extension) in the TableLook XML format. this is useful for converting a TableLook .tlo file from SPSS 15 or earlier into the newer .stt format. glow-up arc fr fr πΈ
π Input Selection Options
the dir and convert commands, by default, operate on all of the objects in the source SPV file, except for objects that are not visible in the output viewer window. you may specify these options to select a subset of the input objects. when multiple options are used, only objects that satisfy all of them are selected:
--select=[^]class...β include only objects of the given class; with a leading^, include only objects not in the class. use commas to separate multiple classes. the supported classes are:
charts headings logs models tables texts trees warnings
outlineheaders pagetitle notes unknown other
use --select=help to print this list of classes.
--commands=[^]command...--subtypes=[^]subtype...--labels=[^]label...β include only objects with the specified command, subtype, or label. with a leading^, include only the objects that do not match. multiple values may be specified separated by commas. an asterisk at the end of a value acts as a wildcard.
the --command option matches command identifiers, case insensitively. all of the objects produced by a single command use the same, unique command identifier. command identifiers are always in English regardless of the language used for output. they often differ from the command name in PSPP syntax. use the pspp-output program's dir command to print command identifiers in particular output.
the --subtypes option matches particular tables within a command, case insensitively. subtypes are not necessarily unique: two commands that produce similar output tables may use the same subtype. subtypes are always in English and dir will print them.
the --labels option matches the labels in table output (that is, the table titles). labels are affected by the output language, variable names and labels, split file settings, and other factors.
--nth-commands=n...β include only objects from the nth command that matches--commands(or the nth command overall if--commandsis not specified), where n is1for the first command,2for the second, and so on.--instances=instance...β include the specified instance of an object that matches the other criteria within a single command. the instance may be a number (1for the first instance,2for the second, and so on) orlastfor the last instance.--show-hiddenβ include hidden output objects in the output. by default, they are excluded.--orβ separates two sets of selection options. objects selected by either set of options are included in the output.
the following additional input selection options are intended mainly for use by PSPP developers:
--errorsβ include only objects that cause an error when read. with theconvertcommand, this is most useful in conjunction with the--forceoption.--members=member...β include only the objects that include a listed Zip file member. more than one name may be included, comma-separated. the members in an SPV file may be listed with thedircommand by adding the--show-membersoption or with thezipinfoprogram included with many operating systems. error messages thatpspp-outputprints when it reads SPV files also often include member names.--member-namesβ displays the name of the Zip member or members associated with each object just above the object itself.
π OPTIONS π
-h,--helpβ prints a usage message on stdout and exits.-v,--versionβ prints version information on stdout and exits.
β AUTHORS β
Ben Pfaff.
π SEE ALSO π
pspp-convert(1), pspp(1), psppire(1).
and that's the whole page, bestie!! this one came from PSPP, dated December 2019, and it was literally pspp-output(1) all along. go read your SPV files. periodt π
π«Ά
π¦ where this page comes from
- debian trixie: pspp 2.0.1-1+b1 Β· GPL-3.0-or-later
- fedora 43: pspp 2.0.1-6.fc43 Β· GPL-3.0-or-later
- fedora 43: pspp 2.1.1-5.fc43
- fedora 43: pspp 2.1.3-2.fc43 Β· GPL-3.0-or-later
- fedora 44: pspp 2.1.1-1.fc44 Β· GPL-3.0-or-later
- fedora 44: pspp 2.1.1-5.fc44
- fedora 44: pspp 2.1.3-2.fc44 Β· GPL-3.0-or-later
- nixos 26.05: pspp 2.1.1
- nixpkgs unstable: pspp 2.1.1
- ubuntu noble: pspp 2.0.0-3build2 Β· GPL-3.0-or-later
- ubuntu questing: pspp 2.0.1-1build2
- ubuntu resolute: pspp 2.0.1-1build3 Β· GPL-3.0-or-later
- ubuntu stonking: pspp 2.0.1-1build3 Β· GPL-3.0-or-later
- Copyright (C) 2020 Free Software Foundation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms