X-Spam-Check-By: sourceware.org X-Authenticated: #14884790 Message-ID: <002801c6defd$93958660$140110ac@LOGUCO> From: "Logu" To: References: <1026800198 DOT 20060923122829 AT ukr DOT name> Subject: tr command suddenly behaves differently Date: Sat, 23 Sep 2006 16:16:27 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-Y-GMX-Trusted: 0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Hi, I an using cygwin (CYGWIN_NT-5.1 LOGU-CO 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown unknown Cygwin) on Windows Xp Professional Edition. All of a sudden the tr (/usr/bin/tr) command started working differently. So when I login through ssh I get an error message as follows while logging in. ------------------- Using username "logu". Authenticating with public key "rsa-key-logu2048" Last login: Sat Sep 23 11:41:24 2006 from logu-co Fanfare!!! You are successfully logged in to this server!!! /usr/bin/tr: misaligned [:upper:] and/or [:lower:] construct $ ------------------ After analysing I found that the tr command did not work correctly. So the command $ /usr/bin/tr [:upper:] [:lower:] when executed gives an error message as /usr/bin/tr: misaligned [:upper:] and/or [:lower:] construct But all other options works correctly. The same version of cygwin (and tr) on another machine works correctly. I have checked the md5sum of the binaries and they are all same. So I think some of the environment or the dynamic libraries could have been changed. The only task that was performed on the system before and after the correct working was that the Norton Antivirus scanning. And NAV did not report any bad files. I thought of compiling new version of tr from source with debug symbols and debugging it with gdb. It will be great help if someone on this list helps to resolve the issue. Thanks -logu -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/