so this is my out put when i cat multiple config files and grep name of file and modified date.
/path-to-file/name of file
modified date
/path-to-file/name of file
modified date
/path-to-file/name of file
modified date
I want the output to be like this and if possible add comma after the word 'file'.
/path-to-file/name of file, modified date
/path-to-file/name of file, modified date
/path-to-file/name of file, modified date
/path-to-file/name of file, modified date