commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
The old dos2unix from sysutils has been deprecated on Debian systems to this tool.
There are 2 alternatives - vote for the best!
Here "^M" is NOT "SHIFT+6" and "M". Type CTRL+V+M to get it instead.
Its shortest and easy. And its sed!, which is available by default in all linux flavours.. no need to install extra tools like fromdos.
This method will also convert mac line endings.
If you can do better, submit your command here.
You must be signed in to comment.