delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/06/16:31:13

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=LeXmXgfczh9FPaaSK3J8b52b2gZ7AObY9gjR6dyoF0kL8c93QJbWv
7snriRfnkTsSl6BmPgbdFMmJ/+kgKHUrFU3R/Vg0VCTLg6A0VYLJqr5pJA1Ffjod
8W61SdI7hjDg2z+AUim/PK5RmOZfDax1YL01rQiKt/PfY+lbJpEHCE=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=ueFKZavzCO4kmmjzmOd6hyX3G98=; b=px0mO1+E5aNOqsQknA9ozPev7I5S
RydjTiGSClct7mfmVfPh0loTnza75nosj2/pX94eJ8Q0FjJJEXslxZAR0LgiUiEu
LjIXi4ffb4WoJwASQ4NGNuZlOylaVHGCAIBVB8rl1emLn/ajhv/HE3qxDZr8T78m
2UMWhtX+J0v8FG4=
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=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Paul <Paul DOT Domaskis AT gmail DOT com>
Subject: Re: Force "ls" to show .exe extension
Date: Tue, 6 Jan 2015 21:28:55 +0000 (UTC)
Lines: 12
Message-ID: <loom.20150106T222234-870@post.gmane.org>
References: <loom DOT 20150106T203355-631 AT post DOT gmane DOT org> <54AC48DE DOT 6000806 AT cygwin DOT com> <loom DOT 20150106T221646-526 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Paul <Paul.Domaskis <at> gmail.com> writes:
> Both solutions are great.  I'll set the --append-exe in my bash
> aliases, and for systems outside of my normal working environment
> (e.g., working with someone on their unix sessions), I know I can
> force display of .exe using asterisk.

Drat. If I pipe files to 'xargs ls', the unaliased ls command is used:

   type -pa pdfcrop | xargs ls

I can always append asterisks to each pdfcrop path using sed, or even
explicitly type --append-exe [:(] .


--
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