Hi John

There's some work being done on this at present - see 
https://github.com/fish-shell/fish-shell/pull/5188 for more information, 
and hopefully it will get sorted out by fish 3.0.

David Adam
fish committer
zanc...@ucc.gu.uwa.edu.au

On Fri, 11 May 2018, John Chludzinski wrote:
> Is this changing in 3.0?
> 
> On Fri, May 11, 2018 at 4:16 PM, John Chludzinski <
> john.chludzin...@gmail.com> wrote:
> 
> > Yes,
> >
> > set -x LD_LIBRARY_PATH /usr/lib64:/lib64:/lib:/usr/li
> > b:/mnt/ssd/OpenDDS/lib/:/mnt/ssd/OpenDDS/ACE_wrappers/lib/
> >
> > worked.
> >
> > On Fri, May 11, 2018 at 4:15 PM, John Chludzinski <
> > john.chludzin...@gmail.com> wrote:
> >
> >> So I should use:
> >>
> >> set -x LD_LIBRARY_PATH /usr/lib64:/lib64:/lib:/usr/li
> >> b:/mnt/ssd/OpenDDS/lib/:/mnt/ssd/OpenDDS/ACE_wrappers/lib/
> >>
> >> And I need to use a COLON ( ":" ) in lieu of a space ( " " ) as a
> >> delimiter for all env. var. except PATH, CDPATH and MANPATH?
> >>
> >> Correct?
> >>
> >> On Fri, May 11, 2018 at 4:06 PM, Kurtis Rader <kra...@skepticism.us>
> >> wrote:
> >>
> >>> It is working correctly. You're naturally confused because fish special
> >>> cases PATH, MANPATH, and CDPATH. It automatically splits on colons when
> >>> importing those vars from the environment and joins the elements with
> >>> colons when exporting to an external command. It does not do that for any
> >>> other environment var. Not even those that have "PATH" in the name. This 
> >>> is
> >>> (sort of) documented:
> >>>
> >>> fish automatically creates arrays from the variables PATH, CDPATH and
> >>>> MANPATH when it is started. (Previous versions created arrays from
> >>>> *all* colon-delimited environment variables.)
> >>>
> >>>
> >>> See https://github.com/fish-shell/fish-shell/issues/436 for a proposal
> >>> on how to improve this via "tied variables". I was working the code for
> >>> that feature which would have made it into the fish 3.0 release. Sadly I
> >>> stopped working on fish when I decided I could no longer work with one of
> >>> the other devs so I didn't complete that work. And it doesn't look like 
> >>> any
> >>> of the remaining devs consider it important enough to include in the 3.0
> >>> release.
> >>>
> >>>
> >>> On Fri, May 11, 2018 at 12:53 PM, John Chludzinski <
> >>> john.chludzin...@gmail.com> wrote:
> >>>
> >>>> I'm trying to set an env. var.:
> >>>>
> >>>> set -x LD_LIBRARY_PATH /usr/lib64 /lib64 /lib /usr/lib
> >>>> /mnt/ssd/OpenDDS/lib/ /mnt/ssd/OpenDDS/ACE_wrappers/lib/
> >>>>
> >>>> Then I run the Perl script:
> >>>>
> >>>> $ perl ./run_test.pl
> >>>> /mnt/ssd/OpenDDS/bin/DCPSInfoRepo -ORBDebugLevel 10 -ORBLogFile
> >>>> DCPSInfoRepo.log -o repo.ior
> >>>> /mnt/ssd/OpenDDS/bin/DCPSInfoRepo: error while loading shared
> >>>> libraries: libOpenDDS_InfoRepoServ.so.3.12.0: cannot open shared
> >>>> object file: No such file or directory
> >>>>
> >>>> I go into BASH:
> >>>>
> >>>> export LD_LIBRARY_PATH=/usr/lib64:/lib64:/lib:/usr/lib:/mnt/ssd/Ope
> >>>> nDDS/lib/:/mnt/ssd/OpenDDS/ACE_wrappers/lib/
> >>>>
> >>>> Then the Perl script:
> >>>>
> >>>> $ perl ./run_test.pl
> >>>> /mnt/ssd/OpenDDS/bin/DCPSInfoRepo -ORBDebugLevel 10 -ORBLogFile
> >>>> DCPSInfoRepo.log -o repo.ior
> >>>> TAO (10880|140123965663040) - Completed initializing the process-wide
> >>>> service context
> >>>> TAO (10880|140123965663040) - Default ORB services initialization begins
> >>>> TAO (10880|140123965663040) - 
> >>>> ORBInitializer_Registry::register_orb_initializer
> >>>> 0 @0x219dea0
> >>>> TAO (10880|140123965663040) - 
> >>>> ORBInitializer_Registry::register_orb_initializer
> >>>> 1 @0x219de20
> >>>> TAO (10880|140123965663040) - Default ORB services initialization
> >>>> completed
> >>>> TAO (10880|140123965663040) - We are the default ORB ...
> >>>>
> >>>> Question: Why isn't the FISH 'set -x' command functioning as advertised?
> >>>>
> >>>> BTW> fish --version
> >>>> fish, version 2.6.0
> >>>>
> >>>>
> >>>>
> >>>> ------------------------------------------------------------
> >>>> ------------------
> >>>> Check out the vibrant tech community on one of the world's most
> >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >>>> _______________________________________________
> >>>> Fish-users mailing list
> >>>> Fish-users@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/fish-users
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Kurtis Rader
> >>> Caretaker of the exceptional canines Junior and Hank
> >>>
> >>
> >>
> >
> 

Cheers,

David Adam
zanc...@ucc.gu.uwa.edu.au
Ask Me About Our SLA!


_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to