I need to add a space between the md5sum and the file name. So my current output is:
1be9df543bb5fa37c4b53f0401072f98 file.xml
And I need it to be:
1be9df543bb5fa37c4b53f0401072f98 file.xml
I am a mess with regex/sed but this is what I have and I'm kind of stumped:
sed -E 's/([-A-Za-z_0-9]+\.[-A-Za-z_0-9]+).*$/\1 \2/'
Output for this is:
sed: -e expression #1, char 45: invalid reference \2 on `s' command's RHS
Any help is appreciated.