Commit bacc5ab6 authored by Matthias Simon's avatar Matthias Simon
Browse files

Fix dos2unix flags

parent 447d1947
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@ while IFS= read -r -d $'\0' file; do
done < <(find ATS -type f ! -name "*.xml" -a ! -name "*.xsd" -a ! -name "*.ttcn" -a -name "*.json" -a -name "NOTES")
done < <(find ATS -type f ! -name "*.xml" -a ! -name "*.xsd" -a ! -name "*.ttcn" -a -name "*.json" -a -name "NOTES")


echo "Converting Windows line endings to Unix..."
echo "Converting Windows line endings to Unix..."
find ATS -type f -name \*.ttcn | xargs dos2unix -q
find ATS -type f -name \*.ttcn | xargs dos2unix 1>/dev/null


echo "Removing trailing whitespace"
echo "Removing trailing whitespace"
find ATS -type f -name \*.ttcn | xargs sed -i 's/[[:space:]]*$//'
find ATS -type f -name \*.ttcn | xargs sed -i 's/[[:space:]]*$//'