diff --git a/scripts/extract_failed_ids.sh b/scripts/extract_failed_ids.sh index cdf1f21..033ecac 100755 --- a/scripts/extract_failed_ids.sh +++ b/scripts/extract_failed_ids.sh @@ -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"