Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80251962
export_correction.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 30, 17:23
Size
235 B
Mime Type
text/x-shellscript
Expires
Sun, Sep 1, 17:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20328767
Attached To
R7571 SP4E-TB-TL-FR
export_correction.sh
View Options
#!/bin/bash
mkdir starting_point
dir
=
$1
for
file in
$(
ls
$dir
)
;
do
if
[
-f
$file
]
;
then
echo
"$file"
sed -e
'/^\s*EXERCISE_BEGIN_CORRECTION/,/EXERCISE_END_CORRECTION/d'
$dir
/
$file
\
> starting_point/
$file
fi
done
Event Timeline
Log In to Comment