From 077ed51e254b9a6af2259b1952e6134ead98afa2 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 10 May 2026 22:07:29 +0200 Subject: refactor(core): remove awk and bc dependencies Both tools were used for simple arithmetic that bash handles natively. awk: fps rounding (num/den) replaced with round-half-up integer arithmetic: (num + den/2) / den. bc: savings percentage replaced with bash $(( )) arithmetic. bc was a conditional dependency (only required with --saving), which made the dependency story inconsistent. Removing it means the full feature set is available with only ffmpeg, ffprobe, nice, and optionally tomlq. Updated README requirements table, man page --saving description, SEE ALSO section, and exit-code 127 entry accordingly. --- README.md | 1 - 1 file changed, 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8ce5e12..3c4053f 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,6 @@ replaces the original atomically on success. | `ffmpeg` | always | encoding | | `ffprobe` | always | codec/format detection | | `nice` | always | process priority control | -| `bc` | only with `--saving` | percentage calculation | | `tomlq` | only when `config.toml` is present | TOML config parsing | ## Installation -- cgit v1.3.1