dotfiles/scripts/remcrlf

6 lines
82 B
Bash
Executable file

#!/usr/bin/env bash
# Removes CRLF (^M or \r) from a file
sed -e "s/^M//" $1 -i