[gull] Grep avec plusieurs motifs?

Lol Zimmerli lugbox at lzi.ch
Fri Jun 9 14:13:04 CEST 2006


Hello,

FLUO <fluo at linuxbourg.ch> écrit/wrote:
> Ce que j'aimerai c'est faire un OU logique genre "grep (From|Subject)
> log.txt" pour qu'il me sort en alternance les lignes sujet et from.
> 
> Mais je ne trouve pas la bonne syntaxe.

grep "Subject\|From"  log.txt

À+

-- 
Lol Zimmerli - http://www.lzi.ch/lol/

Oah, elle est booooonne!
	-Pierrick (Ex-Animateur sur Radiocheule)
http://www.fricheule.net/



More information about the gull mailing list