Re: [racket-users] Print...a newbies problem ;)

2016-10-30 Thread Meino . Cramer
Hi Matthew, thanks for your reply ! :) The problem was: That print loop creates a lot of #\spaces before dumping the 7000+ of data lines. And there was no #\n between the lines. In vim I saw "nothing" (not exspecting that there were valid data after those spaces). On the console this block of

Re: [racket-users] Print...a newbies problem ;)

2016-10-30 Thread Matthew Flatt
Probably you need to use `flush-output` to make sure that your printed output is sent to the pipe. When stdout goes to a terminal, the default buffer mode is line-buffered, so that printing a newline causes output to be flushed. For any other output destination, including a pipe to another

[racket-users] Print...a newbies problem ;)

2016-10-29 Thread Meino . Cramer
Hi, currently I am still doing old-school "printf()-debugging", knowing that it's '(print arg)' rather than 'printf( fmt, val,...);". :) Since my program reads a bigger textfile of shortwave broadcasters, their frequencies, on-air times, etc, reformats the whole thing and (currently only to