X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fdata-io.texi;h=1316f603a6aa9d8c0ee832d460817ba645531570;hb=refs%2Fheads%2Fpivot-table2;hp=79deb4a3ac6a79cea71707e3791b19af71442797;hpb=80788c833f111c2e9aef3e25bdb44d6a56423313;p=pspp diff --git a/doc/data-io.texi b/doc/data-io.texi index 79deb4a3ac..1316f603a6 100644 --- a/doc/data-io.texi +++ b/doc/data-io.texi @@ -629,10 +629,11 @@ Each tab is 4 characters wide by default, but TABWIDTH (a @pspp{} extension) may be used to specify an alternate width. Use a TABWIDTH of 0 to suppress tab expansion. -By default, a file written in CHARACTER mode uses line feeds only at -ends of lines, which is customary on Unix-like system. Specify ENDS -as CR or CRLF to override the default. PSPP reads files using either -convention on any kind of system, regardless of ENDS. +A file written in CHARACTER mode by default uses the line ends of the +system on which PSPP is running, that is, on Windows, the default is +CR LF line ends, and on other systems the default is LF only. Specify +ENDS as CR or CRLF to override the default. PSPP reads files using +either convention on any kind of system, regardless of ENDS. @item In IMAGE mode, the data file is treated as a series of fixed-length @@ -794,6 +795,9 @@ so an infinite loop results. @cmd{END FILE}, when executed, stops the flow of input data and passes out of the @cmd{INPUT PROGRAM} structure. +@cmd{INPUT PROGRAM} must contain at least one @cmd{DATA LIST} or +@cmd{END FILE} command. + All this is very confusing. A few examples should help to clarify. @c If you change this example, change the regression test1 in