Hi,
On Wed, Jan 27, 2010 at 09:03:19PM +0000, Jeremy Elman wrote:
> Hi all,
>
> I apologize if this is a very basic question. Currently I'm installing the
> latest FSl release on 64-bit Ubuntu but I've had some errors when running
> from the command line using a tcsh shell.
>
> I believe these are due to problems sourcing the configuration file
> /etc/fsl/fsl.sh - I assume because this uses bash syntax. I can switch
> shells, source and run the programs, but would prefer to run things from the
> tcsh shell. I was wondering if there was a way to source the config file
> from within tcsh?
It is not possible to source a POSIX shell script in csh. The Debian
FSL package doesn't provide a csh config file -- simply because I have
no clue about csh and so far assumed that nobody would use non-POSIX
shells anymore. Apparently, I was wrong.
Your only two choices for now are:
1. Switch to _any_ of the countless POSIX compatible shells.
2. Convert fsl.sh into csh syntax, using the FSL default config, which
is in /usr/share/fsl/etc/fslconf/fsl.csh on your system.
However, if you compare this one with fsl.sh, you'll notice that it
has more (and required) settings. That would need to be added to
fsl.csh.
If you go for 2), I'd appreciate if you would donate the updated
fsl.csh, so I can ship it with the package.
Thanks,
Michael
PS: Any particular reason that would make csh more attractive then,
let's say, zsh?
--
GPG key: 1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de
|