[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep recurse fails
From: |
CENTRAPEL - Maxime MARAIS |
Subject: |
grep recurse fails |
Date: |
Mon, 12 Oct 2009 10:14:01 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Hi,
When using grep or fgrep like the following, if a sub-directory starting
with "---" is present in the current directory, grep fails with the
message "grep: unknown option « ---<<directory name>> »"
Example :
$ ls
profil.centrapel.com
---recrutement.centrapel.com
recrutement.centrapel.com
$ fgrep -R "find me" *.*
grep: option non reconnue « ---recrutement.centrapel.com »
$ cat /proc/version
Linux version 2.4.27-3-686-smp (address@hidden) (gcc
version 3.3.5 (Debian 1:3.3.5-13)) #1 SMP Wed Feb 8 12:27:28 UTC 2006
$ fgrep --version
fgrep (grep de GNU) 2.5.1
Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de
reproduction. AUCUNE garantie n'est donnée; tant pour des raisons
COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER.
Thanks.
--
Maxime MARAIS
Pôle Développement
Poste 5321 - 0173502307
- grep recurse fails,
CENTRAPEL - Maxime MARAIS <=
- Re: grep recurse fails, Dave B, 2009/10/12
- Re: grep recurse fails, John Cowan, 2009/10/12
- Re: grep recurse fails, Dave B, 2009/10/12
- Re: grep recurse fails, Andreas Schwab, 2009/10/12
- Re: grep recurse fails, Dave B, 2009/10/12
- Re: grep recurse fails, Eric Blake, 2009/10/12
- Re: grep recurse fails, Dave B, 2009/10/13