1#!/bin/sh
2
3testval=`echo rr | sed -e "s/\r//g"`
4
5if [ x$testval == x ]; then
6	echo "sed is broken, this won't work";
7fi
8
9nativefiles="'*.cpp' '*.h' '*.l' '*.y' '*.html' '*.css' '*.js' '*.am' '*.in' '*.m4' '*.c' '*.guess' '*.sub' '*.sdr' '*.sl' configure ltmain.sh missing depcomp install-sh makeunix COMPILING.txt AUTHORS COPYING ChangeLog DEVNOTES INSTALL LICENSE NEWS README pixie.spec"
10
11#.h may need doing
12for f in $nativefiles; do
13       echo ----- CONVERTING ----- \'$f\' ------
14       #eval find . -name $f -exec ./lines_tounix.sh {} \\\; ;
15       eval find . -name $f -exec tounix {} \\\; ;
16       eval find . -name $f -exec svn propset svn:eolstyle native {} \\\; ;
17done
18