[bash] How to grep, excluding some patterns?