From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 10 Feb 2006 07:44:59 -0600 From: quanstro@quanstro.net To: 9fans@cse.psu.edu Subject: Re: [9fans] More 'Sam I am' MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: f946901a-ead0-11e9-9d60-3106f5b1d025 i'm replying to the wrong message. but to answer the original problem, you /can/ script sam -d like this: { echo $script echo X:'''':w echo q } | sam -d $filelist On 2/10/06, Aharon Robbins wrote: > In article <20060208212850.GK1620@augusta.math.psu.edu> you write: > >On Wed, Feb 08, 2006 at 10:14:53AM -0800, Lyndon Nerenberg wrote: > >> The problem with this is the data I want is interspersed with data that > >> I don't want. And the bits I don't want are variable length > >> inconsistent multi-line text that is a bitch to filter out of the > >> rendered output stream. It turns out that sam (against the raw HTML) > >> was the only tool that was able to do the job. I just wish I could wrap > >> it in a shell script that I could throw at the directory containing all > >> the .html files. > >