"Schnorbus, Patrick" wrote: > > hi, > > may you help me? i need a regex for grep, to find lines containing NOT: > ^192.168 > 212.23.138
Hi. The '-v' flag "inverse" the meaning of grep, letting lines _not_ matching regexp through. grep -v -e ^192.168 -e 212.23.138 would skip lines starting with "192.168" and lines containing "212.23.138" (anywhere in line since there is no '^' starting the regexp). Try "man grep" for a better explanation/overview of grep capabilities. // Emil > > any ideas? > > TIA > patrick > Virengeprüft vom G DATA AntiVirenKit > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]