Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
executable file 13 lines (12 sloc) 186 Bytes
#!/bin/sh
if [ -f $1 ]
then
sed -i "s/[[:space:]]*$//" $1
else
if [ -d $1 ]
then
for i in `find $1 -iname *.R -type f`
do sed -i "s/[[:space:]]*$//" $i
done
fi
fi
You can’t perform that action at this time.