-1

Sometimes, when passing the name of files from a config.txt into a pipe, I get weird problems of non-existing files. I fear it is due to some non-standard end of line characters. I am using kate as standard IDE, the end of line should simply be \n.

How can I remove the unwanted characters and assure that each line terminates with \n using bash?

Thank you

Gigiux
  • 517
  • 1
  • 7
  • 17

1 Answers1

1

try dos2unix or d2u. If this does not work, then you will have to tell us more about what the characters are.