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

Re: soucis avec grep



Le Mon, 11 May 2015 16:12:00 +0200,
Johnny B <frozzenshell@gmail.com> a écrit :

> Hello,
> 
> Bernard utilise zsh donc qu'a- t-il fait récemment pour obtenir ce 
> résultat ?
> 
> Y a-t-il des confs customizées (.zshrc .zshenv .zshfiles etc...) ?
> 
> On ne perd pas un commande comme cela, il faudrait que Bernard donne
> des infos sur les actions qui ont conduit à ce résultat
> 
> @+
> 
> 
> On 05/11/2015 04:06 PM, Sébastien NOBILI wrote:
> > Le lundi 11 mai 2015 à 15:46, Bernard Schoenacker a écrit :
> >>>>   lspci | grep wifi
> >>>> grep: Avertissement : GREP_OPTIONS doit être abandonnée ;
> >>>> veuillez utiliser un alias ou un script
> >>> Tu dois avoir une variable GREP_OPTIONS dans laquelle tu as
> >>> défini des directives pour personnaliser le comportement de Grep.
> >>>
> >>> Que donne la commande suivante ?
> >>>
> >>>      echo $GREP_OPTIONS
> >>>
> >>> Il faudrait retirer la ligne que la définit.
> >>>
> >> j'ai repris la commande avec bash et c'est pareil ...
> > Si la variable se trouve également définie dans l'environnement de
> > Bash, c'est normal.
> >
> > Que vaut-elle cette variable ?
> >
> > Sébastien
> >
> 

bonjour,

j'ai basculé le shell vers bash est c'est pareil ...

la seule trace que j'ai trouvé :


#: src/grep.c:2157
#, c-format
msgid "warning: GREP_OPTIONS is deprecated; please use an alias or
script" msgstr ""
"Avertissement : GREP_OPTIONS doit être abandonnée ; veuillez
utiliser un " "alias ou un script"

source :

http://fossies.org/linux/misc/grep-2.21.tar.gz/grep-2.21/po/fr.po?m=t

j'ai regardé ceci :

 apt-cache policy grep
grep:
  Installé : 2.21-1
  Candidat : 2.21-1
 Table de version :
 *** 2.21-1 0
          1 http://ftp.fr.debian.org/debian/ experimental/main amd64
 Packages 100 /var/lib/dpkg/status
     2.20-4.1 0
        500 http://ftp.fr.debian.org/debian/ sid/main amd64 Packages
        500 http://ftp.fr.debian.org/debian/ jessie/main amd64 Packages


bouhhh snif snif plus de grep faudra attendre un peut ....

slt
bernard


Reply to: