I am trying to replace the first period by a hyphen in following strings by using regex
I am using
sed command as
To make the output as follows:
However, in Linux its not working.
Can anyone help where I am making a mistake?