hi folks
I have a directory called xml_logs which records real time conversation on IRC servers.
This directory consists of xml files
Each file has a format <!CDATA[chat data]]> in it
I need a script to remove this pattern from each file in directory and
the result should be
<chatdata>
i have tried to use sed but sed works on list on files how to make it work on directory in a bash script. any help
thanks
I have a directory called xml_logs which records real time conversation on IRC servers.
This directory consists of xml files
Each file has a format <!CDATA[chat data]]> in it
I need a script to remove this pattern from each file in directory and
the result should be
<chatdata>
i have tried to use sed but sed works on list on files how to make it work on directory in a bash script. any help
thanks