Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larsoft
bin
removeWhiteSpace.sh
Go to the documentation of this file.
1
#!/bin/bash
2
3
4
usage()
5
{
6
echo "USAGE: `basename ${0}` <file list>"
7
}
8
9
file_list=$@
10
11
if [ -z "${file_list}" ]; then
12
usage
13
exit 1
14
fi
15
16
for fl in ${file_list}; do
17
#echo "remove trailing whitespace from ${fl}"
18
sed -i 's/[ \t]*$//g' ${fl}
19
done
20
21
exit 0
22
Generated by
1.8.11