in reply to Writing one File from Various Files in a Directory

If I understand you correctly,

perl -pe"BEGIN{@ARGV = map{ glob} @ARGV; print'subscribername,telephon +e,email,language', $/;}" *.txt > subscribers.all

would probably do the job.

But that said, if you simply want to concatenate all the files into one big file

copy con subscribers.all subscribername,telephone,email,language ^Z type *.txt >>subscribers.all

would also do it.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller