Skip to content

Commit

Permalink
#1 while
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 17, 2024
1 parent 0fd6ff0 commit ea43e07
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion entry.sh
Expand Up @@ -29,4 +29,8 @@ cd "${GITHUB_WORKSPACE-/w}"

read -r -a opts <<< "${INPUT_OPTS}"

find . -name '*.bib' -exec bibcop.pl "${opts[@]}" {} \;
bibs=$(find . -name '*.bib')

echo "${bibs}" | while IFS= read -r bib; do
bibcop.pl "${opts[@]}" "${bib}"
done

0 comments on commit ea43e07

Please sign in to comment.