mirror of
https://github.com/markusressel/zfs-inplace-rebalancing
synced 2026-02-05 05:24:07 +00:00
Make grep compatible with BSD/MacOS
This commit is contained in:
parent
34b59acc95
commit
d4f52ee5a7
@ -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}"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user