Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F11221859
clsbtables_remove_asterisks.bat
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
clsbtables_remove_asterisks.bat
View Options
#!/bin/bash
startdir=
"$PWD"
cd
/home/Karina/Work/HiggsBounds/clsb_tables/csboutput_KWed
folderslist=
"csboutput_outfile_fullclsb_ee_h2h1_bbbb_090307_1_prodah_dechbb
csboutput_outfile_fullclsb_ee_h2h1_bbtt_090307_1_prodah_dechbt
csboutput_outfile_fullclsb_ee_h2h1_gggg_090307_1_prodah_dechgg
csboutput_outfile_fullclsb_ee_h2h1_h1h1h1_090307_1_prodah_dechaa
csboutput_outfile_fullclsb_ee_h2h1_tatatata_090307_1_prodah_dechtata
csboutput_outfile_fullclsb_ee_h2h1_ttbb_090307_1_prodah_dechtb
csboutput_outfile_fullclsb_ee_h2h1_tttttt_090307_1_prodah_dechtttttt
csboutput_outfile_fullclsb_ee_h2z_bbttz_090307_1_prodzh_dechbbtt
csboutput_outfile_fullclsb_ee_h2z_bbz_090307_1_prodzh_dechbb
csboutput_outfile_fullclsb_ee_h2z_ggz_090307_1_prodzh_dechgg
csboutput_outfile_fullclsb_ee_h2z_h1h1z_090307_1_prodzh_dechaa
csboutput_outfile_fullclsb_ee_h2z_sm_090307_1_prodzh_dechsm
csboutput_outfile_fullclsb_ee_h2z_tataz_090307_1_prodzh_dechtata
csboutput_outfile_fullclsb_ee_h2z_ttttz_090307_1_prodzh_dechtttt
"
for
folder in $folderslist ; do
echo 'folder:' $folder
cd $folder
fileslist=`ls`
#echo $fileslist
for file in $fileslist ;
do
#echo $file
ls -l $file
sed -e
"s/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/\-999/g"
$file
>
$file'_temp'
mv $file'_temp' $file
done
cd
..
done
cd
$PWD
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Wed, May 14, 11:00 AM (23 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5071801
Default Alt Text
clsbtables_remove_asterisks.bat (1 KB)
Attached To
rHIGGSBOUNDSSVN higgsboundssvn
Event Timeline
Log In to Comment