Skip to content

Instantly share code, notes, and snippets.

@slavailn
Created April 29, 2021 22:54
Show Gist options
  • Save slavailn/33da32adabf76a75ef846f953aa9c53c to your computer and use it in GitHub Desktop.
Save slavailn/33da32adabf76a75ef846f953aa9c53c to your computer and use it in GitHub Desktop.
Remove carriage returns from the windows file for the use in linux
#! /bin/bash
sed -i 's/\r//g' file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment