<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/07/44bb761bf353031a2a1eed29d5966ee0"
  from="Oleg &lt;oleg_inconnu@m...&gt;"
  author="Oleg"
  date="2002-07-09T20:15:15"
  subject="Re: [Caml-list] productivity improvement"
  prev="2002/07/b1d76aaf4dbcd88832968eca5998a85b"
  next="2002/07/892807020cb1f5aa502f745413e9a8b7"
  prev-thread="2002/07/6982dabc6e9541815755c57458ab4117"
  next-thread="2002/07/235b6d01ac3436001b15edcd52ef8cea"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Re: [Caml-list] productivity improvement">
<msg 
  url="2002/07/44bb761bf353031a2a1eed29d5966ee0"
  from="Oleg &lt;oleg_inconnu@m...&gt;"
  author="Oleg"
  date="2002-07-09T20:15:15"
  subject="Re: [Caml-list] productivity improvement">
</msg>
</thread>

<contents>
On Tuesday 09 July 2002 04:04 pm, John Carr wrote:
&gt; &gt; [1] cat source | sed "s/ //" | wc -c
&gt;
&gt; You need a 'g' at the end of the sed command, or use the simpler:
&gt;
&gt; tr -d ' ' &lt; source | wc -c

cat source | sed "s/[[:space:]]//g" | wc -c

to catch '\t' too, while we are at it.

Oleg
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

