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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=DQGwaJAwm5+OR6nhYLEg5Pl1l3ZC cJkdH4w6moBjdVC75C/6RMHDivZiFK2fk9MSoUopnRvEPPg2+v1Nxt3IUpft+oy6 qrIYr9N8u8qJ69vWXDaDL1QKNEv7I/eO6N7rkxL7fIc9WHbqMTdllhIvVMYZfrEG moB3sBhDfBBfXcI= 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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=default; bh=9Bg6D7jo4A4jkk2FP0I0sEAaZL4=; b=iz dYaJPbKD0jCmkTjvCJNYHvG0J4ctqGlsb80sr9YMAO2HoJJqV+aj6mw0oePuWg02 Jx0RSlDAIM0LoeYxCvvbfyxgIP/Wn4K51Pb9qosEdozl8YH9OeNIfxOTEawlACex TuMx+ehL+wA9vDEbaeY/R9IXTWu0Gws9jBCyNLbac= 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.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f178.google.com X-Received: by 10.69.26.130 with SMTP id iy2mr160737875pbd.93.1420576731095; Tue, 06 Jan 2015 12:38:51 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: Force "ls" to show .exe extension From: Tom Robinson In-Reply-To: Date: Wed, 7 Jan 2015 09:38:45 +1300 Content-Transfer-Encoding: 7bit Message-Id: References: To: cygwin AT cygwin DOT com X-IsSubscribed: yes If you don't want to specify the extension, can you specify as asterisk? [3236 CBGSAS04:~/Documents]$ touch name.exe [3237 CBGSAS04:~/Documents]$ ls -l name -rw-r--r--+ 1 cbg.tom Domain Users 0 Jan 7 09:34 name [3238 CBGSAS04:~/Documents]$ ls -l name.exe -rw-r--r--+ 1 cbg.tom Domain Users 0 Jan 7 09:34 name.exe [3239 CBGSAS04:~/Documents]$ ls -l name* -rw-r--r--+ 1 cbg.tom Domain Users 0 Jan 7 09:34 name.exe > On 2015-01-07, at 08: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. -- 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