I need to grep AND three patterns in multiple files , I found I way to grep AND two patterns in multiple file {grep -E 'pattern1.*pattern2' *} for example ,I have two files
-
File1 contain
1 ,2 ,3
4 ,5
-
File2 contain
1,2,3
4
I need to grep the file the contain 1 and 3 and 5
Aucun commentaire:
Enregistrer un commentaire