ine 2: $'\r': command not found code example Example: $'\r': command not found sed -i 's/\r$//' filename