[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-dev] [Bug 64] [PATCH] Useless cat using



http://www.ossec.net/bugs/show_bug.cgi?id=64


dcid@xxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Comment #4 from dcid@xxxxxxxxx  2007-09-07 18:58 -------
Hi Slava

We can not use grep directly since in some systems it returns the file name
before the output. Like:


$ grep ossec LICENSE
LICENSE: Copyright 2003-2007 Daniel B. Cid (dcid@xxxxxxxxx). All rights
reserved.

Instead of:


$ cat LICENSE |grep ossec
 Copyright 2003-2007 Daniel B. Cid (dcid@xxxxxxxxx). All rights reserved.


*I saw we use egrep sometimes, but that shouldn't be used too. We need to make
sure our install works everywhere (Linux, Solaris, HP-UX, AIX, etc, etc).

Btw, thanks for the patches! I appreciate the effort!


-- 
Configure bugmail: http://www.ossec.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.