Re: [greenstone-users] OSX - ImageMagick installed but Greenstone can't locate

From John R. McPherson
DateFri, 27 May 2005 09:23:40 +1200
Subject Re: [greenstone-users] OSX - ImageMagick installed but Greenstone can't locate
In-Reply-To (f06210203bebb9e2df265-172-16-1-51)
On Thu, 2005-05-26 at 08:43 -0700, Rich Robinson wrote:
> Two responses here to emails from John and Michael:
> ************
> Trying to set the path in bash gives error "export: command not
> found" in fact that happens whenever I open the bash shell - I'm
> wondering if there was some kind of less than full implementation of
> bash in OS 10.2.8 - anyone know if an upgrade to Jaguar and higher
> would help?

That sounds like your terminal is actually using tcsh instead of bash.
"export" is a builtin command in bash, so it should always be available.
Older versions of OS X defaulted to tcsh in the terminal, newer versions
default to bash.

You can type
echo $0
to see which shell your terminal is currently running:

Welcome to Darwin!
mystic:/Users/jrm21$ echo $0
mystic:/Users/jrm21$ tcsh
[mystic:~] jrm21% echo $0
[mystic:~] jrm21% exit
mystic:/Users/jrm21$ bash
bash-2.05b$ echo $0

(zsh is another bash-compatible shell).

If you want to use csh/tcsh, you can instead source the "setup.csh"
file, but if you don't already know and prefer csh, I suggest using