[Pm-utils] Fwd: results after POSIXification
victor.lowther at gmail.com
Wed Jan 30 07:45:19 PST 2008
Sorry, forgot to add the mailing list to the cc: line.
On Jan 30, 2008 4:35 AM, Michael Biebl <mbiebl at gmail.com> wrote:
> after Victors extensive patches to make pm-utils posix shell
> compliant, I ran checkbashims on the resulting scripts. Here are the
> possible bashism in 00logging line 8 (echo -e):
> echo -e "Kernel version: `/bin/uname -a`\n"
> possible bashism in 00logging line 9 (echo -e):
> echo -e "`lsmod`\n"
> possible bashism in 00logging line 10 (echo -e):
> echo -e "`free`\n"
These are because of the -e parameter to echo. I have another patch
series (not submitted yet) that gets rid if the unneeded calls to echo
in this (and a couple of other) scripts.
> possible bashism in functions line 227 (brace expansion):
This is POSIX parameter expansion -- checkbashisms is incorrect here.
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
More information about the Pm-utils