Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
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
sed -Ei
''
-
e
's&[[:space:]]+$&&'
${fl}
20
done
21
22
exit
0
23
z
process_name opflash particleana ie ie ie z
Definition:
run_opflash_electron.fcl:92
exit
exit
Definition:
generate_icarus_geometry_splitwire.pl:430
file_list
file_list
Definition:
removeWhiteSpace.sh:9
usage
usage
Definition:
doGit.sh:21
fi
then shift fi
Definition:
condor_hadd_sam.sh:174
in
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
Definition:
quiet_Math_Functor_test.sh:23
e
do i e
Definition:
updateVersionList.sh:68
Generated by
1.8.5