Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-28 Thread Mariusz Pękala
On 2005-07-27 09:43:25 +0200 (Wed, Jul), Christoph Gysin wrote: Zhang Weiwu wrote: [EMAIL PROTECTED]:/tmp$ diff -I ^[[:space:]]*/[*].*[*]/[[:space:]]*$ header.inc.php empty 1,2d0 ?php /* $Id: header.inc.php.template,v 1.58 2005/07/08 05:00:14 milosch Exp $ */ in man it's being

Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-27 Thread Zhang Weiwu
Mariusz Pękala wrote: On 2005-07-25 17:50:37 +0800 (Mon, Jul), Zhang Weiwu wrote: My RE must be wrong but I can hardly successfully match a whole line like the below example: This works: [EMAIL PROTECTED]:/tmp$ egrep \b*\/[*].*[*]\/\b* Calendar.php /* $Id:

Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-27 Thread Christoph Gysin
Zhang Weiwu wrote: [EMAIL PROTECTED]:/tmp$ diff -I ^[[:space:]]*/[*].*[*]/[[:space:]]*$ header.inc.php empty 1,2d0 ?php /* $Id: header.inc.php.template,v 1.58 2005/07/08 05:00:14 milosch Exp $ */ in man it's being said, -I RE --ignore-matching-lines=RE Ignore

Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-26 Thread Mariusz Pękala
On 2005-07-25 17:50:37 +0800 (Mon, Jul), Zhang Weiwu wrote: My RE must be wrong but I can hardly successfully match a whole line like the below example: This works: [EMAIL PROTECTED]:/tmp$ egrep \b*\/[*].*[*]\/\b* Calendar.php /* $Id: class.boalarm.inc.php,v 1.1.1.1 2005/03/18

Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-25 Thread Christoph Gysin
Zhang Weiwu wrote: This works: [EMAIL PROTECTED]:/tmp$ egrep \b*\/[*].*[*]\/\b* Calendar.php /* $Id: class.boalarm.inc.php,v 1.1.1.1 2005/03/18 09:17:36 dawnlinux Exp $ */ /* $Id: class.boalarm.inc.php,v 1.11 2004/05/23 14:51:27 ralfbecker Exp $ */ This doesn't work: [EMAIL