FG
💻 Software

Convert CRLF's to line feeds on Linux

Fresh5 days ago
Mar 15, 202645306 views
Confidence Score0%
0%

Problem

What's the best way to convert CRLF's to line feeds in files on Linux? I've seen sed commands, but is there anything simpler?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Convert CRLF's to line feeds on Linux

Low Risk

Use this command: The other way around: These commands are found in the tofrodos package (on most recent distributions), which also provides the two wrappers unix2dos and dos2unix that mimic the old unix tools of the same name.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment