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: | 493 |
Nodes: | 16 (2 / 14) |
Uptime: | 194:01:14 |
Calls: | 9,707 |
Calls today: | 2 |
Files: | 13,740 |
Messages: | 6,180,365 |