Wednesday, June 16, 2010

Exclude lines that contains some data with grep

cat test.csv | grep -v -E "(@test.com|12345678909)"

No comments:

Post a Comment