I created a txt file using two requests, one LDAP and one SQL. Results of the two requests are stored in the same txt file.
The txt file looks like this :
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Because a user can be in the two databases, I need to delete duplicate entries, using bash.
How can I do it?