Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / histogram / tools / crlf_to_lf.sh
1 #!/bin/sh
2
3 # Copyright Hans Dembinski 2019
4 # Distributed under the Boost Software License, Version 1.0.
5 # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
6
7 # Find files with CRLF: `find <path> -not -type d -exec file "{}" ";" | grep CRLF`
8
9 perl -pi -e 's/\r\n/\n/g' $1