I am running a foreach loop on a list (shown below) that runs `md5sum` on every file listed in the list. However, md5sum prints out in the format [0-9a-z]+ filename ... but I need to print it out in reverse. I have tried some regex tests like:
$out = s/^[0-9a-z]+/$2 $1/g; # combining sed and awk here .. dunno if this is allowed
and I have also tried capturing the [0-9a-z]+ with braces () .. but I think I am just going about this the wrong way. Can someone help me out. Thanks
$out = s/^[0-9a-z]+/$2 $1/g; # combining sed and awk here .. dunno if this is allowed
and I have also tried capturing the [0-9a-z]+ with braces () .. but I think I am just going about this the wrong way. Can someone help me out. Thanks
