mateodx / pulledpork

Automatically exported from code.google.com/p/pulledpork
GNU General Public License v2.0
0 stars 0 forks source link

Patch for /trunk/doc/README.CATEGORIES #167

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Appended a solution to get a list of all categories when they are changed or 
new.
Removed and wrote the current list of categories.

Original issue reported on code.google.com by jcroc...@uic.edu on 11 Feb 2015 at 9:24

GoogleCodeExporter commented 8 years ago
I'm having issues with the "-= Categories =-" I have to change them to:

#
## ET Categories
#

The minus sign (-) has something to do with disabling all rules ...

Original comment by jcroc...@uic.edu on 12 Feb 2015 at 11:20

GoogleCodeExporter commented 8 years ago
Fixed (-=) minus issue in Patch, Issue # 168

Original comment by jason.c....@gmail.com on 12 Feb 2015 at 11:43

GoogleCodeExporter commented 8 years ago
Forgot to add uniq to sorting the rules categories:
lz /var/tmp/*.gz | egrep '\.rules' | cut -d'/' -f3 | sort -u > rules.`date +%F`

Original comment by jcroc...@uic.edu on 8 May 2015 at 3:51

GoogleCodeExporter commented 8 years ago
CORRECTED: lz /var/tmp/*.gz | egrep '\.rules' | cut -d'/' -f3 | sort -u | perl 
-lne '/(.*).rules/ && print $1' > rules.`date +%F`

Original comment by jcroc...@uic.edu on 30 Jun 2015 at 4:08