2008/1/27, Victor Lowther <[EMAIL PROTECTED]>:
> Rewrite module loading and unloading to make POSIX compliant, simplify
> the logic a little, and modify 50modules hook to take change in
> modreload into account.

local UNL="$(echo $1 |tr -- - _)" RET=1

Why did you prefer tr over sed? sed is in /bin, whereas tr is in
/usr/bin, which is
imho a slight advantage (and I guess more people are familiar with sed)

local UNL="$(echo $1 | sed s/-/_/g)" RET=1

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to