using txt file from windows to create script

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
EDIT > fixed....

I have a script for a ubuntu box (iptables rules) that was written as a .txt file on a windows machine. I've tried copying and using the file directly, but linux won't parse DOS files correclty so I need to convert my text file to a linux file..

any ideas? im googling now.. im wondering if I can just cat the contents to a new linux text file??