Skip to content

17 Utilities ​

Commands that don’t fit any other category are placed here.

Most of these commands are not affected by commands like IF and LOOP: they take effect only once, unconditionally, at the time that they are encountered in the input.

• ADD DOCUMENTAdd documentary text to the active dataset.
• CACHEIgnored for compatibility.
• CDChange the current directory.
• COMMENTDocument your syntax file.
• DOCUMENTDocument the active dataset.
• DISPLAY DOCUMENTSDisplay active dataset documents.
• DISPLAY FILE LABELDisplay the active dataset label.
• DROP DOCUMENTSRemove documents from the active dataset.
• ECHOWrite a string to the output stream.
• ERASEErase a file.
• EXECUTEExecute pending transformations.
• FILE LABELSet the active dataset’s label.
• FINISHTerminate the PSPP session.
• HOSTTemporarily return to the operating system.
• INCLUDEInclude a file within the current one.
• INSERTInsert a file within the current one.
• OUTPUTModify the appearance of the output.
• PERMISSIONSChange permissions on a file.
• PRESERVE and RESTORESaving settings and restoring them later.
• SETAdjust PSPP runtime parameters.
• SHOWDisplay runtime parameters.
• SUBTITLEProvide a document subtitle.
• TITLEProvide a document title.

基于 GNU PSPP 2.0.1 手册与入门教程整理