Add sort command

This commit is contained in:
Philipp 2021-04-10 13:59:06 +02:00
parent 0148ffe0d7
commit 7eaa5d7727
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD

View File

@ -61,7 +61,7 @@ KEYWORDS="-k -kt -ktt:1,2"
echo "Extract strings to $OUTFILE.." echo "Extract strings to $OUTFILE.."
rm "$OUTFILE"; touch "$OUTFILE" rm "$OUTFILE"; touch "$OUTFILE"
find_result=$(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f) find_result=$(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f | sort)
total_files=$(wc -l <<< "${find_result}") total_files=$(wc -l <<< "${find_result}")