[Pm-utils] [patch commit]  POSIXification of pm-utils
mbiebl at gmail.com
Mon Jan 28 14:01:04 PST 2008
2008/1/27, Victor Lowther <victor.lowther at gmail.com>:
> 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
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