diff options
author | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-09 11:18:08 -0500 |
---|---|---|
committer | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-09 11:19:33 -0500 |
commit | 9c7f84bd600f53c59f89f16ad745e3be5cab2f07 (patch) | |
tree | cecbca4ae14e2eff829cfd9627c83237d2f339b6 /SRC/zpbrfs.f | |
parent | 78d32fd2a6d030d388981f096014c764ff7898f5 (diff) | |
download | lapack-9c7f84bd600f53c59f89f16ad745e3be5cab2f07.tar.gz lapack-9c7f84bd600f53c59f89f16ad745e3be5cab2f07.tar.bz2 lapack-9c7f84bd600f53c59f89f16ad745e3be5cab2f07.zip |
STYLE: Remove trailing whitespace in MISC files
This is mostly a long term maintenance improvement.
Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.
By removing whitespace on one patch, it makes future
code reviews much easier.
=SCRIPT====================================================================
if which tempfile &>/dev/null; then
TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
TEMPMAKER=mktemp
else
echo "Cannot find tempfile program." 2>&1
exit 1
fi
MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM
stripit() {
echo "stripping $1"
sed 's/[ \t]*$//' "$1" > $MYTEMP
cp $MYTEMP "$1"
}
if [ $# -gt 0 ]; then
while [ "$1" != "" ]; do
stripit $1
shift
done
else
while read -t 2; do
stripit $REPLY
done
fi
rm $MYTEMP
=================================================
Diffstat (limited to 'SRC/zpbrfs.f')
0 files changed, 0 insertions, 0 deletions