H98 Text IO
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Tue Feb 26 16:28:43 EST 2008
On Wed, 2008-02-27 at 00:50 +1100, Roman Leshchinskiy wrote:
> Ross Paterson wrote:
> > On Wed, Feb 27, 2008 at 12:31:43AM +1100, Roman Leshchinskiy wrote:
> >> I'm probably mistaken, but doesn't this proposal mean that I can't
> >> implement cat in H98 using text I/O? That would be a bit disturbing.
> >
> > That is already the case, at least for binary files.
>
> Ok, cat is a bad example. Any kind of simple text processing, really,
> that assumes that reading a character from stdin and writing it to
> stdout is really just copying.
Well it would copy valid text files, possibly with some normalisation in
encoding.
Duncan
More information about the Libraries
mailing list