head	1.1;
branch	1.1.1;
access;
symbols
	gettext-0_15:1.1.1.1
	gettext-0_14_6:1.1.1.1
	gettext-0_14_5:1.1.1.1
	gettext-0_14_4:1.1.1.1
	gettext-0_14_3:1.1.1.1
	gettext-0_14_2:1.1.1.1
	gettext-0_14_1:1.1.1.1
	gettext-0_14:1.1.1.1
	gettext-0_13_1:1.1.1.1
	gettext-0_13:1.1.1.1
	gettext-0_12_1:1.1.1.1
	gettext-0_12:1.1.1.1
	gettext-0_11_5:1.1.1.1
	gettext-0_11_4:1.1.1.1
	gettext-0_11_3:1.1.1.1
	gettext-0_11_2:1.1.1.1
	gettext-0_11_1:1.1.1.1
	release:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2002.05.01.18.02.35;	author bruno;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.05.01.18.02.35;	author bruno;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@# Sed script that remove the POT-Creation-Date line in the header entry
# from a POT file.
#
# The distinction between the first and the following occurrences of the
# pattern is achieved by looking at the hold space.
/^"POT-Creation-Date: .*"$/{
x
# Test if the hold space is empty.
s/P/P/
ta
# Yes it was empty. First occurrence. Remove the line.
g
d
bb
:a
# The hold space was nonempty. Following occurrences. Do nothing.
x
:b
}
@


1.1.1.1
log
@Import gettext-0.11.1
@
text
@@
