Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: globbing index*
- X-seq: zsh-users 15842
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zzapper <david@xxxxxxxxxx>
- Subject: Re: globbing index*
- Date: Mon, 7 Mar 2011 23:36:00 +0100
- Cc: zsh-users@xxxxxxx
- 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=
- In-reply-to: <Xns9EA1E1DE5F989zzappergmailcom@80.91.229.10>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <Xns9EA1E1DE5F989zzappergmailcom@80.91.229.10>
On 7 March 2011 23:12, zzapper <david@xxxxxxxxxx> 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*<TAB>
diff -u?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author