How to extract all Yahoo emails from a .CSV file?

grep can read directly from a file, so unless you are intentionally trying to limit the input size the use of head is unnecessary. Likewise, cat is pointless here. The following should work:

grep "@yahoo.com" EmailList.csv > file2.csv

Browse More Popular Posts

Leave a Comment