How to save both matching and non-matching from grep How to save both matching and non-matching from grep unix unix