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