On Thu, Jan 27, 2005 at 05:41:49PM +0000, Maurice Lombardi wrote: [...]
A side comment: to make it work I needed to compile with gpc add the --transparent-file-name option to gpc (otherwise the filenames are asked at the beginning of the execution)
Incidentally, I tried it without --transparent-file-names (gpc 20041218, gcc 3.3.3), and got:
[~/pas]% ./a.out Input file `namebook': namebook ./a.out: cannot open file `namebook ' for reading (No such file or directory) (error #442 at 8049e79)
I.e., the name of the file includes the newline which is necessary to terminate the input! This is IMO another bug.
Emil