Hello
This is my first post in this site
I have the next txt file "Employee.txt" with the next data
ID Name Department Salary
1 Alejandro IT 1000
2 Alan HR 3000
3 Lupe IT 2500
4 Lili Desing 1500
i need to create a script in Unix, the user has to provide the Id to remove from the file.
For example, if the use type id=3, then i have to remove the complete line from the file,
results:
ID Name Department Salary
1 Alejandro IT 1000
2 Alan HR 3000
4 Lili Desing 1500
i hope you can help me, thank you and regards