List Info

Thread: Which "Unix Shell = tcsh"




Which "Unix Shell = tcsh"
country flaguser name
United States
2007-06-12 04:31:36

"WHICH" command don't exist in tcsh Shell
We disable it in our script :
#if ! which "$_JAVA_EXEC" >/dev/null ; then
# echo "Error: No java environment found";
# exit 1
#fi

We could replace it by "type"

__._,_.___
.

__,_._,___
Re: Which "Unix Shell = tcsh"
country flaguser name
Germany
2007-06-12 04:36:37

Suggestions for a more general Unix launcher which also runs fine with tcsh
are welcome.

--
Best regards,
Thomas Singer
_____________
SyntEvo GmbH
Brunnfeld 11
83404 Ainring
Germany
www.syntevo.com

fredste wrote:
> "WHICH" command don't exist in tcsh Shell
> We disable it in our script :
> #if ! which "$_JAVA_EXEC" >/dev/null ; then
>; # echo "Error: No java environment found";
> # exit 1
> #fi
>
> We could replace it by "type"

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )