"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/octave/bin/tm_octave" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

tm_octave  (TeXmacs-1.99.4-src):tm_octave  (TeXmacs-1.99.5-src)
#!/bin/sh #!/bin/sh
echo -ne "\002verbatim:" echo -ne "\002verbatim:"
octave -v OV=$(octave -v)
cd $TEXMACS_PATH/plugins/octave/octave; exec octave -qi tm-start.m echo "$OV"
cd $TEXMACS_PATH/plugins/octave/octave
# octave changed extensions for scripts at v4
if [[ $(grep -o -P "version.{1,2}" <<< $OV |cut -c 9 ) -lt "4" ]] ; then
# v3
exec octave -qi tm-start.m
else
# v4 or newer
exec octave -qi tm-start.oc
fi
 End of changes. 2 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS