in reply to Re^5: extract and export to multiple files
in thread extract and export to multiple files

Thank you Grandfather. It turned out CR and LF were the problem in that specific file that contained ampersand character. The text files are coming from an IBM mainframe with Mac(LF) encoding. By the way, I had to preprocess and remove "/" from $titles before running your script since they are not accepted as a valid character in a file name. I converted them into "OR"! Thank you again for your great assistance.
  • Comment on Re^6: extract and export to multiple files