converting dos line endings to unix
What is the simplest way a Macintosh user can convert a text file with DOS/Windows (CRLF) line endings to Unix/Mac (LF) using only the tools available in a standard OS X distribution?
In the command-line environment (Terminal), I don't see the old standard, dos2unix. And I don't see an option in TextEdit to specify which. More capable text editors, e.g., TextWrangler, have such an option, but I don't want to require the user to have to download anything more.
I want to share some Perl scripts I wrote with other Macintosh users. The scripts work on text files with Unix/Mac (LF) line endings, but the users' files on which the scripts operate may have DOS/Windows (CRLF) line endings. I want to tell them how to convert their files without having to install anything more.
Is that even possible? Seems like it should be.
MacBook Pro (17-inch Early 2011), OS X Mavericks (10.9.2)