Where is unix2dos

I'm trying to get rid of DOS line endings in a text file, and thought that dos2unix might be available but couldn't find it as a pkg. Maybe it is included in some other pkg. Anyone know?

This should work as replacement:

sed -e 's/\r$//' file.txt > file-converted.txt


Thanks there is also tr which would do the trick, but I'd prefer unix2dos (dos2unix in this case) and I'm very surprised that it isn't available, I though Linux always included it. Maybe I'll try and build it myself...

Searching for "dos2unix" in the main source repo pretty easily reveals that dos2unix is an optional feature in busybox, that you can activate in menuconfig and build a custom busybox for yourself.