Page MenuHomec4science

export_correction.sh
No OneTemporary

File Metadata

Created
Fri, Aug 30, 17:23

export_correction.sh

#!/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