I use Microsoft access to build a config file to my desktop, which I then upload to my server. This file then gets used by a web page, which uses it as part of it's config. However, the web page is having problems reading this file. Somebody I used to work with told me that it was because the file has windows formatting in it, and this needs to be removed. He gave me some code, and it worked, but I've lost it.
I think the code was something like the following:
sed 's/^M//' < /home/user/config_file > /var/config_file
But this doesnt seem to be working. Any ideas?