remove dependency on pcregrep and tr

move SMART info querying to well documented functions for readability
This commit is contained in:
Michael Schnerring
2020-09-08 21:16:36 +02:00
parent 8744bbd5d0
commit 492e4ca429
2 changed files with 55 additions and 12 deletions

View File

@@ -95,7 +95,7 @@ The script should run successfully on any SATA disk with SMART capabilities, whi
Requires the smartmontools, available at [www.smartmontools.org](https://www.smartmontools.org)
Uses: `grep`, `pcregrep`, `awk`, `sed`, `tr`, `sleep`, `badblocks`
Uses: `grep`, `awk`, `sed`, `sleep`, `badblocks`
Tested with the static analysis tool at [www.shellcheck.net](https://www.shellcheck.net) to insure that the code is POSIX-compliant and free of issues.