I have many files that have a line such as:
INPUTS+=('http://domain.ext/XXX/ZZZ/12345')
Which I want to modify to:
INPUTS+=('http://domain.ext/XXX/ZZZ/12345.ts') // add the ".ts" before parentheses
This is the sed command I have so far but it doesn't work as expected:
find */*.sh -type f -print0 | xargs -0 sed -i "s|\([0-9]*\)\(\x27\)|\1.ts\2|g"
How would I make this work?
Thanks!