----------------------------------------------------------------------
FuGrep itself is free software in the sense of the license below
(known as the BSD license). This license applies to all files in the
FuGrep package except for agrepy_all.c and agrepy_all.h.

  Copyright (c) 2003, Joerg Raedler, <jr@j-raedler.de>
  All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:

  Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
  Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.
  Neither the name of the author nor the names of its contributors may
  be used to endorse or promote products derived from this software
  without specific prior written permission.

  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  POSSIBILITY OF SUCH DAMAGE.

----------------------------------------------------------------------

FuGrep uses concepts and some code from a package called agrepy, which
is based on agrep (see below). Because of this all users of FuGrep
have to respect the following copyright of the agrepy author 
Michael J. Wise:

  For the copyright on the orginal algorithms see the file
  COPYRIGHT.agrep.
  [[comment: for the contents of this file see below]]
  Other portions have been written by Michael J. Wise and are
  copyright under the terms of Open Source Definition
  (http://www.opensource.org/osd.html).

This applies to the contents of the files agrepy_all.c and
agrepy_all.h, which are merged and slightly modified versions of some
files delivered with agrepy.

----------------------------------------------------------------------

The main part of both FuGrep and agrepy is code originally derived
from agrep. Because of this all users of FuGrep have to respect the
following copyright of the agrep authors (original contents of
COPYRIGHT.agrep):

  This material was developed by Sun Wu and Udi Manber at the
  University of Arizona, Department of Computer Science.  Permission
  is granted to copy this software, to redistribute it on a nonprofit
  basis, and to use it for any purpose, subject to the following
  restrictions and understandings.

  1. Any copy made of this software must include this copyright notice
  in full.

  2. All materials developed as a consequence of the use of this
  software shall duly acknowledge such use, in accordance with the
  usual standards of acknowledging credit in academic research.

  3. The authors have made no warranty or representation that the
  operation of this software will be error-free or suitable for any
  application, and they are under under no obligation to provide any
  services, by way of maintenance, update, or otherwise.  The software
  is an experimental prototype offered on an as-is basis.

  4. Redistribution for profit requires the express, written
  permission of the authors.
----------------------------------------------------------------------
