From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5649 invoked by alias); 7 Mar 2011 22:36:08 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15842 Received: (qmail 8949 invoked from network); 7 Mar 2011 22:36:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.212.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=q6PQNz6ZZSQAvMP2ssGo+fft6t/QhhwOkDt8/BBkQjg=; b=RkwHdVGgnxAZ3bshYug1wuy/7i4TBu1AyVJr2rtFAdpRxqoPIaIpJPqGt0NhWJ1zpB 9BQ1UG8mIerMZ9+Q73Fz9okbYtoc1VdCrl8IsAn6t31DLxWhrSHX85T3h9OBYai+OgDQ p1/Cg9t1pSVouBmwenuF+rO5sYAc1EjPdBCaY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nvvs33HSSygKH28yzuWDBitpELCrjbxg9IR/RA+GtAwHtaWfypxo3ZFMvydF8zaqnv ptUhX8MQpms7qkBc7A6V9qtPXiw+EcKi5A45S37OnCcO59SYOCBnVBESxgEWLlK+P9bF zWjCHHOfJ3savEjPuS5gs1zWhOtOfo56Y+ags= MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 7 Mar 2011 23:36:00 +0100 Message-ID: Subject: Re: globbing index* From: Mikael Magnusson To: zzapper Cc: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 On 7 March 2011 23:12, zzapper wrote: > Hi > I'm often diffing two files with a glob knowing that only 2 files match. > say index.php and index2.php > > so when I type >> diff index* > I can assume that I will get, (but it will always be as clear) > >> diff index.php index2.php > > but is there an option to force diff to output the names of actual files > compared? > > (Having posed myself the problem I've realized that I can always tab expand) > >> diff index* diff -u? -- Mikael Magnusson