Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
globbing index*
- X-seq: zsh-users 15841
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: globbing index*
- Date: Mon, 7 Mar 2011 22:12:16 +0000 (UTC)
- 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
- Organization: SuccessTheory
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>
--
zzapper
http://zzapper.co.uk/ Technical Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author