1
0
Fork 0
mirror of synced 2024-05-21 12:42:44 +12:00

Update script to catch more failed IDs

This commit is contained in:
Serene-Arc 2021-05-18 13:58:07 +10:00 committed by Serene
parent 122aa2839b
commit 32f72c35ec

View file

@ -14,5 +14,8 @@ else
output="failed.txt"
fi
grep 'Could not download submission' "$file" | awk '{ print $12 }' | rev | cut -c 2- | rev >>"$output"
grep 'Failed to download resource' "$file" | awk '{ print $15 }' >>"$output"
{
grep 'Could not download submission' "$file" | awk '{ print $12 }' | rev | cut -c 2- | rev ; \
grep 'Failed to download resource' "$file" | awk '{ print $15 }' ; \
grep 'failed to download submission' "$file" | awk '{ print $14 }' | rev | cut -c 2- | rev ; \
} >>"$output"