Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff sbin/fzfs @ 537:62cd970aea9c
Replace the use of "deprecated" egrep calls with "grep -E"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 09 Sep 2024 14:28:55 +0200 |
| parents | 07071afd9ae5 |
| children | 9f8f3e9b3d84 |
line wrap: on
line diff
--- a/sbin/fzfs Mon Sep 09 14:13:51 2024 +0200 +++ b/sbin/fzfs Mon Sep 09 14:28:55 2024 +0200 @@ -322,7 +322,7 @@ done else /sbin/mount -t zfs -p \ - | LC_ALL=C /usr/bin/egrep "^${_dsname}(/|\s)" \ + | LC_ALL=C /usr/bin/grep -E "^${_dsname}(/|\s)" \ | LC_ALL=C /usr/bin/sort -n -r \ | while IFS=' '$'\t' read -r _name _mp _rest ; do if checkyes _opt_dry_run ; then
