# HG changeset patch
# User paulo@thepaulopc
# Date 1292312501 28800
# Node ID e618a3ff2027b4f741025a9bf1179b17d9b718d0
# Parent 74cf5cfa3ec1a5303003f16c5f3c365bbc20b73c
add GPL notices to rcg.c and rcg.py
diff -r 74cf5cfa3ec1 -r e618a3ff2027 rcg.c
--- a/rcg.c Thu Nov 18 00:31:44 2010 -0800
+++ b/rcg.c Mon Dec 13 23:41:41 2010 -0800
@@ -1,3 +1,20 @@
+// rcg.c -- regex colored grep
+// Copyright (C) 2010 by Paulo Ang (pbba13@gmail.com)
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+
#include
#include
#include
diff -r 74cf5cfa3ec1 -r e618a3ff2027 rcg.py
--- a/rcg.py Thu Nov 18 00:31:44 2010 -0800
+++ b/rcg.py Mon Dec 13 23:41:41 2010 -0800
@@ -1,5 +1,22 @@
#!/usr/bin/env python
+# rcg.py -- regex colored grep
+# Copyright (C) 2010 by Paulo Ang (pbba13@gmail.com)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+
+
import sys
import re
import getopt