On Wed, 04 May 2022, Florian Schmaus wrote:
+ 5|6) inherit eutils ;; # eutils for eqawarn
On Wed, 04 May 2022, Florian Schmaus wrote:
+ 5|6) inherit eutils ;; # eutils for eqawarn
Adding eutils in 2022 seems a little backwards. Maybe make the output
command conditional instead? Something like this:
# conditional needed in EAPIs 5 and 6
local eqawarn=eqawarn
declare -F eqawarn >/dev/null || eqawarn=ewarn
${eqawarn} ...
Alternatively, port the few remaining EAPI 5 and 6 consumers to a newer
EAPI. :)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 17:49:30 |
Calls: | 9,487 |
Calls today: | 6 |
Files: | 13,617 |
Messages: | 6,121,090 |