head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	90.07.18.16.24.30;	author mao;	state Exp;
branches;
next	;


desc
@eat gremlin source code in troff documents, since not all sites are
guaranteed to have gremlin.
@



1.1
log
@Initial revision
@
text
@#!/bin/sh

#
# This script "eats" GRN include statements.  If you use it, you can print
# POSTGRES documentation without GRN, although you will have no illustrations.
# It can be used as a substitute for GRN in the print scripts.
#

awk 'BEGIN {eat=0; unset=0} \
/^\.GS.*/ {eat=1}\
/^\.GE.*/ {unset=1} \
/.*/ {if (!eat) print; if (unset) eat=0; unset=0;}'
@
