How to remove quotes from name?

Hi,

I have a script which reads the filenames from one file, however that file has the filenames in single quotes.
ex: 'abc.c'

I want to remove the quotes so that the filename should be read as abc.c and not 'abc.c'

Please guide me.

Regards.
Bhushan123

Please preprocess your input file as follows.

sed "s/'//g" inpfile.txt > inpfile_stripped.txt.

Now you can use inpfile_stripped as your input.