Make grep compatible with BSD/MacOS

This commit is contained in:
Colin Hebert 2025-03-23 11:46:02 +11:00
parent 34b59acc95
commit d4f52ee5a7
No known key found for this signature in database

View File

@ -323,7 +323,7 @@ if [ "$debug_flag" = true ]; then
fi fi
# Count number of inode groups # Count number of inode groups
file_count=$(grep -cvP '^\t' grouped_inodes.txt) file_count=$(grep -c '^\w' grouped_inodes.txt)
color_echo "$Cyan" " Number of files to process: ${file_count}" color_echo "$Cyan" " Number of files to process: ${file_count}"