/usr/share/mozart/doc/op/node8.html is in mozart-doc 1.4.0-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>4 Input and Output of Text</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node5.html#chapter.files"><< Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node10.html#chapter.sockets">Next >></A></TD></TR></TABLE><DIV id="chapter.text"><H1><A name="chapter.text">4 Input and Output of Text</A></H1><P>The example in <A href="node7.html#section.files.expand-a">Section 3.2</A> resulted in a very inefficient program: reading the entire file to a list and processing it afterwards is extremely memory consuming.</P><P>A far better solution is to process the file incrementally line by line. This pattern of reading files occurs in fact very often, thus we provide support for it. The support provided is a mixin class <CODE>Open<SPAN class="keyword">.</SPAN>text</CODE>. This mixin class can be used together with files, sockets, and pipes. </P><HR><UL class="toc"><LI><A href="node9.html#section.text.expand">4.1 Expanding TAB Characters Revisited</A></LI></UL></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node5.html#chapter.files"><< Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node10.html#chapter.sockets">Next >></A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~schulte/">Christian Schulte</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>
|