Looking at the ConsoleKit configuration, we create a bash script:
pam-foreground-compat.ck. In this script there is a line:
sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE"
is there any reason why it is not:
sed -i "/^$CK_SESSION_ID/d" "$TAGFILE"
Which is a lot easier to understand. I did do a cut/paste, but the here
document is using "EOF", so there is no parameter expansion when pasting.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page