Add abstracts

This commit is contained in:
2019-10-10 14:57:44 +02:00
parent a0f46cf7b7
commit fb4091d3d9
4 changed files with 39 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ for file in abstract-en.tex abstract-fr.tex; do
char=$(cat $abstracts_dir/$file | wc -m)
if [ $char -gt 4000 ]; then
errored=1
echo -e >&2 "\x1B[31;1merror:\x1B[0m $file has more than 4000 characters"
echo -e >&2 "\x1B[31;1merror:\x1B[0m $file has more than 4000 characters ($char characters)"
else
echo -e >&2 "\x1B[32;1msuccess:\x1B[0m $file passes the test ($char characters)"
fi
@@ -17,7 +17,7 @@ for file in abstract-simple-en.tex abstract-simple-fr.tex; do
char=$(cat $abstracts_dir/$file | wc -m)
if [ $char -gt 1000 ]; then
errored=1
echo -e >&2 "\x1B[31;1merror:\x1B[0m $file has more than 1000 characters"
echo -e >&2 "\x1B[31;1merror:\x1B[0m $file has more than 1000 characters ($char characters)"
else
echo -e >&2 "\x1B[32;1msuccess:\x1B[0m $file passes the test ($char characters)"
fi