> No, the original problem was about removing entries from a CSV file, 
> something which grep cannot do particularly well... 

challenge accepted:
    
    
    grep -f delete -v data.csv > filtered.csv
    rm data.csv
    mv filtered.csv data.csv
    

`delete` is the file with the names to delete from the data, and `data.csv` is 
just your data to operate on. `filtered.csv` is a temporary file. It can also 
be done without a temporary file by using sed instead of grep, but then it 
would not be grep anymore.

I don't want to criticise the SQL solution, though.

Reply via email to