I have in 3rd line of a file. I want to replace that with my_dB. How to do this with sed
my_dB
sed
try this:
sed -r '3,5s#()()#\1my_dB\2#' file