X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_YG X-Spam-Check-By: sourceware.org X-Eon-Dm: dm0205 X-Eon-Sig: AQMb1uJNXBJ6PtUiUAIAAAAB,d079cbaf57cd1231c4a6a546f1d8e1b1 Message-ID: <4D5C127D.40401@member.fsf.org> Date: Wed, 16 Feb 2011 10:07:57 -0800 From: L Anderson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: echo $(cygcheck...) oddity Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1102160101 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Could the following signal a possible string buffering problem? Both: cygcheck /bin/sh.exe and echo "$(cygcheck /bin/sh.exe)" yield the same output: E:\cygwin\bin\sh.exe E:\cygwin\bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\RPCRT4.dll C:\WINDOWS\system32\Secur32.dll E:\cygwin\bin\cygintl-8.dll E:\cygwin\bin\cygiconv-2.dll E:\cygwin\bin\cyggcc_s-1.dll E:\cygwin\bin\cygreadline7.dll E:\cygwin\bin\cygncursesw-10.dll C:\WINDOWS\system32\USER32.dll C:\WINDOWS\system32\GDI32.dll However,when I do echo $(cygcheck /bin/sh.exe) I get: C:\WINDOWS\system32\GDI32.dlllll ^^^ ^^^ which clearly is unexpected. LA -- 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