Hi,

Hi,
>
> I use FreeSurfer brain MRI analysis software, which is mostly command-line
> based. To use the software, a script must be 'sourced' which sets
> environment variables, paths, and support libraries. The software comes
> with csh and sh versions, which obviously can't be sourced with fish.
> Running 'bash script.sh' won't work either, because after the variables are
> set up in bash I return to the fish shell with no setup. Do I need to port
> the script to fish, or is there an easier way? If I do have to re-write the
> script, I'm guessing I should start from the csh script - are there any
> tools which convert the syntax?
>

There's not much you can do other than rewrite the bash file to a fish file.

I had a similar problem and I looked into adding fish to environment
modules, which is available in most operating system repositories (and used
in Fedora for switching between different MPI software):

http://sourceforge.net/p/modules/discussion/49345/thread/5f0e4f38/?limit=25#6d5e

However I couldn't quite get it to work (fish does not colon delimit
paths), which was a shame.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to