user [EMAIL PROTECTED]
usertags #226256 close-2005-11-30
thanks

On Mon, Jan 05, 2004 at 01:05:41PM +0100, Guido Bozzetto wrote:
> With comments on /etc/aide/aide.conf aideinit don't work properly.
> Suggested patch follow:
> 
> $ diff /usr/sbin/aideinit /usr/sbin/aideinit.orig 

Can you in the future please submit the patch in unified diff format
(diff -u)? unified diffs are much easier to read.

> <     outfile=`egrep "^[^:#]*database_out=file:" $config | cut -d: -f2`
> <     dbfile=`egrep "^[^:#]*database=file:" $config | cut -d: -f2`

I have modified the regexps to say "^[[:space:]]*database" so that
they do not match on lines that are commented out, and do not match on
lines that do not have the keyword as first non-space word in the line.

Is that what you intend to have?

If no answer is received by 2005-11-30, this bug will be closed.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to