length in gawk returns wrong value

Aaron Schneider notstop@users.sourceforge.net
Thu Jul 19 16:17:00 GMT 2012


On 19/07/2012 16:55, Corinna Vinschen wrote:
> On Jul 19 15:58, Aaron Schneider wrote:
>> On 19/07/2012 14:35, Csaba Raduly wrote:
>>>
>>> Proving, once again, that "There Ain't No Such Thing as Plain Text"
>>> http://www.joelonsoftware.com/articles/Unicode.html
>>>
>>>
>>> Csaba
>>>
>>
>> No idea, but can't cygwin come with native UTF-8 enabled by default
>> so the behavior is the same for everyone?
>
> It is.  See /etc/profile.d/lang.{sh,csh}
>
>
> Corinna
>

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.

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



More information about the Cygwin mailing list