X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_YG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Thu, 20 May 2010 12:47:40 +0000 From: jurriaan AT rivierenland DOT xs4all DOT nl To: cygwin AT cygwin DOT com Subject: Re: sed doesn't like LANG= anymore Message-ID: <20100520124740.GB1432@onderneming10.xs4all.nl> References: <20100520123926 DOT GA1432 AT onderneming10 DOT xs4all DOT nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100520123926.GA1432@onderneming10.xs4all.nl> User-Agent: Mutt/1.5.17 (2007-11-01) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > A very long sed script that's been working for ages (back from the 1.5 > age) here has stopped working. > > It turned out sed doesn't like some strings anymore when environment > variable LANG is empty. With LANG=ASCII, there are no problems. > > sed -e"s/@a/ a/g;" > > where a is character 0xe5. > Sorry, cygcheck and uname output: Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\sed.exe Found: C:\CYGWIN\BIN\sed.exe Found: C:\cygwin\bin\sed.exe C:\cygwin\bin\sed.exe C:\cygwin\bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\RPCRT4.dll C:\WINDOWS\system32\Secur32.dll C:\cygwin\bin\cyggcc_s-1.dll C:\cygwin\bin\cygintl-8.dll C:\cygwin\bin\cygiconv-2.dll CYGWIN_NT-5.2 MSZR050 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin -- 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