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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #57158] Shorten output of "path" on terminal by replacing OCTAVE_HOME part
Date: Sun, 3 Nov 2019 07:59:08 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4

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

                 Summary: Shorten output of "path" on terminal by replacing
OCTAVE_HOME part 
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Sun 03 Nov 2019 01:59:06 PM CET
                Category: Octave Function
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

When issuing the "path" command in the terminal some fairly long paths may
appear, e.g,:

    :
    :
   
L:\philip\devel\octdev\mxe\mxe_64w_20190901\dist\octave\mingw64\share\octave\6.0.0\m\testfun
   
L:\philip\devel\octdev\mxe\mxe_64w_20190901\dist\octave\mingw64\share\octave\6.0.0\m\time
   
L:\philip\devel\octdev\mxe\mxe_64w_20190901\dist\octave\mingw64\share\octave\6.0.0\m\web
   
L:\philip\devel\octdev\mxe\mxe_64w_20190901\dist\octave\mingw64\share\octave\6.0.0\data

    >> OCTAVE_HOME
    ans = L:\philip\devel\octdev\mxe\mxe_64w_20190901\dist\octave\mingw64
    >>


At least on Windows this became more prominent since cset 27609:51d26dd80828
"Use canonical paths in list of load paths (bug #56267)".
I'm wondering if there's any support for shortening those by using e.g.,
<OCTAVE_HOME> as first entry, so the listing could be

    :
    :
    <OCTAVE_HOME>\share\octave\6.0.0\m\testfun
    <OCTAVE_HOME>\share\octave\6.0.0\m\time
    <OCTAVE_HOME>\share\octave\6.0.0\m\web
    <OCTAVE_HOME>\share\octave\6.0.0\data
    >>


... IMO leading to an easier to grasp and more parsimonious listing.





    _______________________________________________________

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]