X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=nW5YR7RBtwz1WHO2Hr4e/Rep/XBfohBFwptPLnpoLSR CS7h4EBClbTrof9AuVHM7aznL6ulHzbR3ZEQFIU0URnspIFdeeRnk4yBnIW+vy03 vXOAsqIHnahIeJPs4NpxmK4/DnZhmJriTJGZriUblQgZRgEu4V5KFnAVcatJdTfE = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=/SZgnQ/ZaNcUUiSz/ZN8b55diEU=; b=O7Dlv0qmP171FkHVS CzM1BbISpAQg2vyH0gESBb+jtF4HRsINfZjAvo/gj951N7mZjM0vHzrHJgrJGgQF HReqHJnIxnrSLVCCwH0yzkeGfAiJ5vGQoSW0bR9EJASctc1SkcQw8Iy820iR3NwR 5xMmu0OLEC5K1EB1I8tYcDxU34= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <54AC48DE.6000806@cygwin.com> Date: Tue, 06 Jan 2015 14:43:10 -0600 From: Yaakov Selkowitz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Force "ls" to show .exe extension References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2015-01-06 13:34, Paul wrote: > Right now, if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" > shows pdfcrop rather than pdfcrop.exe. Is there any way to force ls > to show the full filename (including extension) if it matched the ls > argument, even if the ls argument doesn't specify the extension? I > read http://cygwin.com/cygwin-ug-net/using-specialnames.html, which > helps explain the situation, but not a solution. ls --append-exe ~/bin/pdfcrop -- Yaakov -- 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