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: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:30:23 |
Calls: | 10,388 |
Calls today: | 3 |
Files: | 14,061 |
Messages: | 6,416,843 |
Posted today: | 1 |