fix the crlf issue, closes #204

This commit is contained in:
Hans Dembinski 2019-08-20 10:50:24 +02:00
parent edb27cab57
commit 93f4b4b1d8
2 changed files with 28 additions and 19 deletions

9
tools/crlf_to_lf.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
# Copyright Hans Dembinski 2019
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
# Find files with CRLF: `find <path> -not -type d -exec file "{}" ";" | grep CRLF`
perl -pi -e 's/\r\n/\n/g' $1