Add abstracts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user