Skip to content

Commit

Permalink
Skip awk if no files found
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Feb 6, 2025
1 parent efe589a commit 95ceef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .selector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

set -o errexit -o noclobber -o nounset -o pipefail

find "${1:-.}" -mindepth 2 -name '*.html' | xargs -n 1000 -P 8 awk -f '.selector' -i 'inplace' --
find "${1:-.}" -mindepth 2 -name '*.html' | xargs -n 1000 -P 8 -r awk -f '.selector' -i 'inplace' --

0 comments on commit 95ceef1

Please sign in to comment.