-
-
Notifications
You must be signed in to change notification settings - Fork 395
scripts: Avoid tail -n +/-NUM
syntax as less portable than tail +/-NUM
#3114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
tail -n +/-NUM
syntax as less portable than tail +/- NUM
tail -n +/-NUM
syntax as less portable than tail +/-NUM
…is.sh.sample, scripts/upsdrvsvcctl/nut-driver-enumerator.sh.in: avoid "tail -n +/-NUM" syntax as unportable [networkupstools#3099] Signed-off-by: Jim Klimov <[email protected]>
… upsdrvctl activity; add tweak-ability for debugging NUT programs in the install script context (possibly with custom package builds) [networkupstools#3099] Signed-off-by: Jim Klimov <[email protected]>
…nit script usage on Solaris older than 10 [networkupstools#3099] Signed-off-by: Jim Klimov <[email protected]>
Odd, tests did fail (shellcheck mismatch for NDE) on the older Linux distros. So something did behave differently :\ GH status says
But I only see one in the build log though (linux-centos-7-make-shellcheck): will investigate sometime... |
Indeed, at least CentOS 7's |
Signed-off-by: Jim Klimov <[email protected]>
…etworkupstools#3099] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…NTH_LINE [networkupstools#3099] Signed-off-by: Jim Klimov <[email protected]>
…_ARGS_FROM_NTH_LINE [networkupstools#3099] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…sources for configure script ...even if there is no Makefile yet Signed-off-by: Jim Klimov <[email protected]>
CI in run 5: errors on openbsd worker not related to scripting changes (got some FS troubles). |
Addresses part of issue #3099