# Source - https://stackoverflow.com/a/2933544
# Posted by Ignacio Vazquez-Abrams
# Retrieved 2025-11-07, License - CC BY-SA 2.5
grep -v -F "$data_line" "$data_dir" > ...
-v removes lines that match
-F uses string as is, special characters used without being special