Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2006 23:13:44 -0800
From:      Gary Kline <kline@tao.thought.org>
To:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   perl script to capture header...??
Message-ID:  <20060221071344.GA16641@thought.org>

next in thread | raw e-mail | index | archive | help

	People,

	I think perl is the best way to capture 

	NN     "THE FOR BAR"

	and

	"THE FOO BAR"  NN+1

	and create the header in HTML

	<CENTER>"THE FOO BAR"<BR>
	<A NAME=#NN"> NN </A><BR>
	</CENTER>

	such that each of ch1 thru ch5 have the title and below the
	page number within <A ...> </A> tags.  I want to label every
	page number tagged so that people looking in the
	table-of-contents anf the index can eailt jump to any page.

	So I'll want to fgets() every line, capture the number and title
	(which are saved in $1 and $2,$3,$4), right?

	This book was scanned last summer; ready all but these final
	tweaks.   Thanks for any specifics.

	gary



-- 
   Gary Kline     kline@thought.org   www.thought.org     Public service Unix




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060221071344.GA16641>