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

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

[Octave-bug-tracker] [bug #57158] Shorten output of "path" on terminal b


From: Rik
Subject: [Octave-bug-tracker] [bug #57158] Shorten output of "path" on terminal by replacing OCTAVE_HOME part
Date: Mon, 4 Nov 2019 16:15:35 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #6, bug #57158 (project octave):

path() has two calling forms.  If you don't request an output, the data gets
printed to screen.  Otherwise, it makes a  single path-separated string.  One
possibility would be to change only the 0-output form to show OCTAVE_HOME.

A second possibility would be to document how to translate the output to a
full path.  For example,


strrep ("OCTAVE_HOME/path1/path2", "OCTAVE_HOME", OCTAVE_HOME())
or
strcat (OCTAVE_HOME(), "/path1/path2")





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57158>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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