delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/06/15:43:30

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <yselkowitz AT cygwin DOT com>
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: <loom DOT 20150106T203355-631 AT post DOT gmane DOT org>
In-Reply-To: <loom.20150106T203355-631@post.gmane.org>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019