Closed james-prior closed 7 years ago
Used following command to do it.
grep -lr ' *$' * | while read f; do g=`mktemp`; sed -e 's/ *$//' <"$f" >"$g"; diff "$f" "$g";mv -f "$g" "$f";done
Used following command to do it.