delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/07/12:02:10

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=ttEOx6+Lm9K4rscBE1QobEuXVgXCNi2FKf+NcIJrkEpmcsEBe1MxT
bOElh6mxjG1I2+6VE9J4CcdsSAj2IN34w3QEcaT7L9NL9tl6/KLuek8FWoh3NWT+
FyAzqR9JKHg5i2w7jRAuFIAOe51AcBIJUx8TZTH4iRTXvtCJRxZVww=
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=OZrhhEGPYfq11L/FYD0jHK6KPW8=; b=PVA1VEQEHRCOTSAwZYeBdBJ/A+qh
uQJO90S5cIQ57vw/VaYfxBrQzB3Y09zSawGJCiUsGf7rDZlSZ5Oq5NyFpoTZyOc/
woNu4IQx97uniV8PvfO8cDmmjp1Q/ec9Tv8TNCIuKnSSLkjk+/Z/37MxkCcI3zDZ
H6MoKAMWh4BF9g4=
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
Date: Wed, 7 Jan 2015 15:26:22 +0000 (UTC)
Lines: 18
Message-ID: <loom.20150107T162219-844@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> <loom DOT 20150106T222234-870 AT post DOT gmane DOT org> <54AC55DE DOT 4090801 AT redhat DOT com> <loom DOT 20150107T010020-206 AT post DOT gmane DOT org> <54AC7A83 DOT 5060205 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Eric Blake <eblake <at> redhat.com> writes:
> alias xargs='xargs '
> alias ls='ls --append-exe'
> find -pa pdfcrop | xargs ls
> 
> will execute 'ls --append-exe', but
> 
> alias xargs='xargs '
> alias ls='ls --append-exe'
> find -pa pdfcrop -print0 | xargs -0 ls
> 
> will not, unless you also:
> 
> alias -- -0='-0 '

The bash man page says " A trailing space in  value causes the next
word  to be checked for alias substitution when the alias is
expanded."  Got it.  Thanks.


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