On Fri, 4 Dec 2009 14:43:52 +0100 (CET)
Petr Salinger wrote:
> It might be related to package name change in
>
> freebsd-utils (7.1-4) unstable; urgency=low
>
>* Rename module-init-tools to kldutils and net-tools to freebsd-net-tools,
> as this is messing up the expectations of several
Hi,
Rogério Brito writes:
> On Dec 03 2009, Thorsten Glaser wrote:
>> modules="$(cat /etc/modules /etc/modules.d/* 2>/dev/null | \
>> sed -e 's/#.*//g' -e '/^[ ]*$/d')"
>> ^ ^-> space
>> +> tab
>
> Are character classes (
On Dec 03 2009, Thorsten Glaser wrote:
> modules="$(cat /etc/modules /etc/modules.d/* 2>/dev/null | \
> sed -e 's/#.*//g' -e '/^[ ]*$/d')"
> ^ ^-> space
> +> tab
Are character classes (e.g., [[:blank:]]) understood by standard too
When running with a default shell of dash and not bash, the
/etc/init.d/module-init-tools script complains about not finding the bash
builtin shopt:
# /etc/init.d/module-init-tools start
/etc/init.d/module-init-tools: 62: shopt: not found
#
Which is from this call:
modules="`shopt -s nullgl
On Thu, Dec 03, 2009 at 08:58:49PM +0100, Hanno Hecker wrote:
> Package: kldutils
> Version: 8.0-1
> Severity: normal
>
> When running with a default shell of dash and not bash, the
> /etc/init.d/module-init-tools script complains about not finding the bash
> builtin shopt:
> # /etc/init.d/modu
On Thu, 3 Dec 2009 20:44:03 + (UTC)
Thorsten Glaser wrote:
> I propose: (untested at the moment though)
>
> modules="$(cat /etc/modules /etc/modules.d/* 2>/dev/null | \
> sed -e 's/#.*//g' -e '/^[ ]*$/d')"
> ^ ^-> space
> +>
Hanno Hecker dixit:
>modules="`shopt -s nullglob ; cat /etc/modules /etc/modules.d/* \
> | sed -e \"s/#.*//g\" -e \"/^\( \|\t\)*$/d\" `"
This is even worse, as "...`..."..."...`..." (with or without inner
quotes) is always wrong and not portable, however $(...) is guaranteed
by POSIX
Package: kldutils
Version: 8.0-1
Severity: normal
When running with a default shell of dash and not bash, the
/etc/init.d/module-init-tools script complains about not finding the bash
builtin shopt:
# /etc/init.d/module-init-tools start
/etc/init.d/module-init-tools: 62: shopt: not found
#
W
8 matches
Mail list logo