Bug#326695: hibernate: LockXScreenSaver option doesn't work with mawk.

2005-10-20 Thread Cameron Patrick
On Mon, Sep 05, 2005 at 02:05:35AM -0400, Ariel Rodriguez wrote: > The problem is that the backticks (`) around the command will cause > the \\ to be translated into a single \. 'gawk' works properly with > either \\ or \, but 'mawk' only works with \\. The simple solution is > to use $() inste

Bug#326695: hibernate: LockXScreenSaver option doesn't work with mawk.

2005-09-04 Thread Ariel Rodriguez
Package: hibernate Version: 1.10-1 Severity: normal The LockXScreensaver function doesn't work properly with mawk. It uses a line like the following xuser=`awk 'BEGIN{RS="\\000";FS="="}($1 == "USER"){print $2}' < /proc/$xpid/environ` The problem is that the backticks (`) around the command wil