Hello I have a file that has a lot of lines that end with
main.css">, and some of them are repeated.
I want to keep only one copy of these lines and delete the repeated line.
Could I use grep to search if a file has a line that ends with
So far I have :
grep ' main.css' file.txt |sort | uniq -u
This does nothing as I expected, it just gives me a blank output. Please help? This did not