delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/19/12:54:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <BLU0-SMTP378D15331901273FA4EC87DCED90@phx.gbl>
Date: Thu, 19 Jul 2012 18:53:35 +0200
From: Aaron Schneider <notstop AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: length in gawk returns wrong value
References: <loom DOT 20120719T103849-659 AT post DOT gmane DOT org> <20120719092024 DOT GA31055 AT calimero DOT vinschen DOT de> <loom DOT 20120719T131247-62 AT post DOT gmane DOT org> <20120719113927 DOT GH31055 AT calimero DOT vinschen DOT de> <CAEhDDbCJyHY-MWPCZ5=OQJFyvohuUU4AFsoPDzFudLQgfb-8Jw AT mail DOT gmail DOT com> <BLU0-SMTP132D949A0B60293ECBEAD2CED90 AT phx DOT gbl> <20120719145544 DOT GL31055 AT calimero DOT vinschen DOT de> <BLU0-SMTP1675452B38FDC1ABC528A69CED90 AT phx DOT gbl> <50083976 DOT 8020804 AT hones DOT org DOT uk>
In-Reply-To: <50083976.8020804@hones.org.uk>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 19/07/2012 18:44, Cliff Hones wrote:
> 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
>

I can't find such csh or cshell on my system, I've searched from 
packages and I only see scsh, slsh, posh, mosh, tcsh, zsh, mksh that I 
don't have installed in my system any of them, unless csh comes with the 
system. How do I run the csh?

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019