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 <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]> 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.
> >