Hi
i ahve following find & grp command the command look into the file and check the pattern and output to three lines.
is it is possible this output into one line seperated with some characters
-------
find ./*temp.log* | xargs -i{} cat {} | egrep -e 'Control:' -e 'Run' |cut -c1-100
the out put of this file is
Control File: /u01/cle/dc/der/temp.ctl
Run began on Wed May 23 23:15:00 2007
Run ended on Wed May 23 23:31:20 2007
i need the out put like in one continoous line
Control File: /u01/cle/dc/der/temp.ctl , Run began on Wed May 23 23:15:00 2007 ,Run ended on Wed May 23 23:31:20 2007