Fixed the build following license changes
[scilab.git] / scilab / modules / statistics / help / en_US / summaries / tabul.xml
index 047feb2..f0c4981 100644 (file)
@@ -123,12 +123,12 @@ xtitle("empirical probabilities of B(70,0.5)")
         <programlisting role="example"><![CDATA[ 
 
 // computes the occurrences of words of the license of scilab 
-text = read(SCI+"/license.txt",-1,1,"(A)"); // read the scilab license
+text = read(SCI+"/COPYING",-1,1,"(A)");     // read the scilab license
 bigstr = strcat(text," ");                  // put all the lines in a big string
 sep =  [" " "," "." ";" "*" ":" "-" """"];  // words separators 
 words = tokens(bigstr, sep);                // cut the big string into words
 m = tabul(words);                           // computes occurrences of each word
-[occ , p] = gsort(m(2));                     // sort by decreasing frequencies
+[occ , p] = gsort(m(2));                    // sort by decreasing frequencies
 results = [m(1)(p) string(occ)]             // display result
  ]]></programlisting>
     </refsection>