changeset 17:e618a3ff2027

add GPL notices to rcg.c and rcg.py
author paulo@thepaulopc
date Mon, 13 Dec 2010 23:41:41 -0800
parents 74cf5cfa3ec1
children d516b77d4916
files rcg.c rcg.py
diffstat 2 files changed, 34 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/rcg.c	Thu Nov 18 00:31:44 2010 -0800
     1.2 +++ b/rcg.c	Mon Dec 13 23:41:41 2010 -0800
     1.3 @@ -1,3 +1,20 @@
     1.4 +// rcg.c -- regex colored grep
     1.5 +// Copyright (C) 2010 by Paulo Ang (pbba13@gmail.com)
     1.6 +//
     1.7 +// This program is free software: you can redistribute it and/or modify
     1.8 +// it under the terms of the GNU General Public License as published by
     1.9 +// the Free Software Foundation, either version 3 of the License, or
    1.10 +// (at your option) any later version.
    1.11 +// 
    1.12 +// This program is distributed in the hope that it will be useful,
    1.13 +// but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.14 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.15 +// GNU General Public License for more details.
    1.16 +// 
    1.17 +// You should have received a copy of the GNU General Public License
    1.18 +// along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1.19 +
    1.20 +
    1.21  #include <stdio.h>
    1.22  #include <stdlib.h>
    1.23  #include <regex.h>
     2.1 --- a/rcg.py	Thu Nov 18 00:31:44 2010 -0800
     2.2 +++ b/rcg.py	Mon Dec 13 23:41:41 2010 -0800
     2.3 @@ -1,5 +1,22 @@
     2.4  #!/usr/bin/env python
     2.5  
     2.6 +# rcg.py -- regex colored grep
     2.7 +# Copyright (C) 2010 by Paulo Ang (pbba13@gmail.com)
     2.8 +#
     2.9 +# This program is free software: you can redistribute it and/or modify
    2.10 +# it under the terms of the GNU General Public License as published by
    2.11 +# the Free Software Foundation, either version 3 of the License, or
    2.12 +# (at your option) any later version.
    2.13 +# 
    2.14 +# This program is distributed in the hope that it will be useful,
    2.15 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    2.16 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    2.17 +# GNU General Public License for more details.
    2.18 +# 
    2.19 +# You should have received a copy of the GNU General Public License
    2.20 +# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2.21 +
    2.22 +
    2.23  import sys
    2.24  import re
    2.25  import getopt