xenocara/doc/xorg-docs/specs/rstart/fix.nawk
2006-11-29 16:49:19 +00:00

25 lines
249 B
Awk
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#! /bin/nawk -f
# $Xorg: fix.nawk,v 1.3 2000/08/17 19:42:50 cpqbld Exp $
#
BEGIN {
ignore = 1;
}
/FORMFEED\[Page/ {
sub("FORMFEED", " ");
print;
print " ";
ignore = 1;
next;
}
$0 == "" {
if(ignore) next;
}
{
ignore = 0;
print;
}