Re: soucis avec grep
Le Mon, 11 May 2015 14:24:40 +0200,
Sébastien NOBILI <sebnewsletter@free.fr> a écrit :
> Le lundi 11 mai 2015 à 14:09, Bernard Schoenacker a écrit :
> > je souhaiterai connaître la commande qui remplace grep ...
>
> Grep existe toujours (et ça devrait continuer…)
>
> > exemple :
> >
> > 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.
>
> Sébastien
>
bonjour,
j'ai repris la commande avec bash et c'est pareil ...
bash
bernard@pilot:~$ lspci |grep wifi
grep: Avertissement : GREP_OPTIONS doit être abandonnée ; veuillez
utiliser un alias ou un script
zshrc (source) : http://formation-debian.via.ecp.fr/shell.html
http://formation-debian.via.ecp.fr/fichiers-config/zshrc
slt
bernard
Reply to: