Find the files and make them comma separated files

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

  1. The problem statement, all variables and given/known data:

Hi All,
I am new to unix, my requirement is like need to find the files like DATA_FUNCTION* and put those files into comma separated files.

  1. Relevant commands, code, scripts, algorithms:

  2. The attempts at a solution (include all code and scripts):

  3. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
    JNTU, HYDERABAD, INDIA

Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).

Try if this fills your requirment

find $PWD -type f -name 'DATA_FUNCTION*' | tr "\n" "," | sed "s/,$//g"

where $PWD is current directory you are running search from, can be any absolute or relative path.