I/O example needed

matthews@math.uga.edu matthews@math.uga.edu
Sun, 17 Jan 1999 16:56:11 -0500 (EST)


Hi

I am new to clean I/O and am having a few problems. I was wondering if
someone could email me a start function that does the following,

a) reads a file I into a big L list of chars (including newlines)
   (the file is not too big so I do want to put it into a list)
b) calls a function F to munge L around a bit
c) writes the munged L out to another file O.

It would be a great help to see such an example. Also is there any
way to command line arguments?

I am using Clean 1.3 with the 0.8 I/O libs, but can upgrade to 1.?
if need be.

thanks

graham