octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #38270] miscellaneous package: units conversio


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #38270] miscellaneous package: units conversion from degC to K fails with units 1.0
Date: Mon, 21 Oct 2013 21:56:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36

Follow-up Comment #15, bug #38270 (project octave):

No need to use "command -v units", we already have the file_in_path function.
Something like


file_in_path (sprintf ("units%s", octave_config_info ("EXEEXT")))


should work. Then you can call units --version, however keep in mind that the
"GNU" string didn't appear until some version > 1.53, where 1.53 is the
earliest version on ftp.gnu.org. Version 1.53 *does* support the -o option,
but version 1.0 does not.

If we want to support units on stock OSX, which is what this bug report was
about, then units has to be called with no options, just the two unit names,
and the different output has to be parsed, as I posted in comment #4.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38270>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]