[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27730: --exclude-dir does ignore subdirectory

From: Jiří Kozlovský
Subject: bug#27730: --exclude-dir does ignore subdirectory
Date: Mon, 17 Jul 2017 07:51:53 +0200

When I run:
grep -Hrn --color=auto --exclude-dir=idserver/sql anything

Then the subdirectory idserver/sql is not ignored (it's included in the output).

The searching tree is like this:

So if "./idserver/sql/tablename/2013-10-07.sql" has "anything" in it, then it 
gets outputted, because exclude-dir not working.

My grep version:
grep (GNU grep) 2.25
Copyright © 2016 Free Software Foundation, Inc.

My distro:
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial


reply via email to

[Prev in Thread] Current Thread [Next in Thread]