On 19/07/2012 17:16, Aaron Schneider wrote:

> Looking at /etc/profile.d/lang.csh
>     if ( $?LC_ALL == 0 && $?LC_CTYPE == 0 && $?LANG == 0 ) setenv LANG 
> `/usr/bin/locale -uU`
> 
> I wonder why in my system the setenv command does not exist:
> $ setenv
> -bash: setenv: command not found
> 
> and why the if structure is not followed
>  if (test for true) then command ; fi
> 
> On the other side, /etc/profile.d/lang.sh seems to be ok.

I think you'll find the clue is the ".csh" extension.  That syntax is
for the C-shell, not bash.

-- Cliff



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to