Jump to navigation Jump to search
8 bytes removed ,  17:02, 13 August 2017
= Tips and Tricks=
== Get file info when generate_html fails or warns==
Since generate_html gives errors about the random files generated, it is useless when debugging help text. The following command shows the first few lineas lines of the files created by generate_html.
<pre> f_old=/tmp/$(ls -1 -t /tmp | head -1);while true; do f=/tmp/$(ls -1 -t /tmp | head -1); if [ "$f" != "$f_old" ]; then echo $f; grep '@deftypefn def' --include="*octave-help*" $f; f_old=$f; fi; done</pre>
run this in a different terminal before using generate_html


Navigation menu