The following sed syntax deletes the first
@ character if it exists in a string:
But how to change it to delete the
@ character only if it's in the third position?
For example, I would need to delete it in the following line:
I need the script to verify if the third character is
@, and if so then to delete it from the line.