I have a file named test which has content like below
abc
123
456
jshd
uieh
sjdfsdf
sjdfhjkah
jeff
jenny
I want the result as
'abc','123','456','jshd','uieh','sjdfsdf','sjdfhjk ah','jeff','jenny'
after formatting the above string
I have one logfile which has thousands of rows. From this file I have to select the lines which does not has any of the string from the file 'test'
please let me know how to do