Change some aspects of the PRINT, PRINT EJECT, and WRITE
authorBen Pfaff <blp@gnu.org>
Sun, 29 Oct 2006 00:01:52 +0000 (00:01 +0000)
committerBen Pfaff <blp@gnu.org>
Sun, 29 Oct 2006 00:01:52 +0000 (00:01 +0000)
commitcbdfa35f7fb46948d1ee8aee7b7438cf1a5fd44c
tree2e05c66b47d0169ae69015e079c6aed0a6986aa0
parentc1629e9b28338e59f9e4c027f3792a9419840a2c
Change some aspects of the PRINT, PRINT EJECT, and WRITE
transformations to more closely match SPSS behavior:

- PRINT puts spaces between variables, unless a format is specified
explicitly.

- WRITE doesn't put space between variables.

- PRINT to an external file prefixes each line with a space.

- PRINT EJECT to an external file indicates a formfeed by a "1" in the
first column.

- WRITE writes out spaces for system-missing values, not a period.

- When no output is specified, an empty record is output.

Also, update documentation and tests to match this behavior.
doc/data-io.texi
src/data/ChangeLog
src/data/format.c
src/data/format.h
src/language/data-io/ChangeLog
src/language/data-io/data-writer.c
src/language/data-io/print.c
tests/command/print-strings.sh
tests/command/print.sh
tests/command/very-long-strings.sh