Juan Zuluaga <[email protected]> writes:

> Hello PSPP people, 
> may I ask how to put a line of arbitrary text in the output stream? I'm 
> having a bit of trouble with the new line. I realize it may not be a pspp 
> problem but a bash feature -- any ideas would be appreciated. 
>
> My system: linux, bash, pspp 0.7.7.  
>
> I tried the -O init option, also the ECHO command -- nice in that I can put a 
> line anywhere, but the preceding ECHO is a minor annoyance. 
>
> juan:$ pspp example.sps -O init='String to be written'|head -n 5
> String to be writtenDATA LIST

I guess you want:

    blp@blp:~/pspp/master/_build(0)$ src/ui/terminal/pspp test.pspp -O 
init='String to be written
    '|head -n 5
    String to be written
    DATA LIST

    Reading free-form data from INLINE.
    +--------+------+
    blp@blp:~/pspp/master/_build(0)$ 

(Just push Enter in the middle of entering the command.)
-- 
Ben Pfaff 
http://benpfaff.org

_______________________________________________
Pspp-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to