Editing User:KaKiLa
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
= Tips and Tricks= | = Tips and Tricks= | ||
== Get file info when generate_html fails or warns== | == 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 | 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 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 '@ | <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 ' --include="*octave-help*" $f; f_old=$f; fi; done</pre> | ||
run this in a different terminal before using generate_html | run this in a different terminal before using generate_html |