the remove_parameters() function in /usr/lib/pm-utils/functions tries to use
grep to remove parameters from the parameter list:<br>
<br>
"if [ "$1" = "all" ]; then<br>
echo '' > "$PARAMETERS.new"<br>
else<br>
echo '' >"$PARAMETERS.rm"<br>
for p in "$@"; do<br>
echo "$p" >> "$PARAMETERS.rm"<br>
done<br>
# let grep do the dirty work.<br>
grep -vxFf "$PARAMETERS.rm" "$PARAMETERS" >
"$PARAMETERS.new"<br>
fi"<br>
<br>
but since $PARAMETERS.rm has an empty line at the beginning, grep will
just write $PARAMETERS to sdtout.<br>
this behavior of grep is intented. see:<a href="http://lists.gnu.org/archive/html/bug-grep/2010-04/msg00037.html">
http://lists.gnu.org/archive/html/bug-grep/2010-04/msg00037.html</a><br><br>Peter<br>