Skip to content

Instantly share code, notes, and snippets.

@jasperan
Forked from slavailn/remove_carriage.sh
Created August 20, 2024 22:38
Show Gist options
  • Save jasperan/97966223c4073b60d3241f99f861c541 to your computer and use it in GitHub Desktop.
Save jasperan/97966223c4073b60d3241f99f861c541 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