Re: scripting an interactive web page

Daniel Pittman <[email protected]> Sat, 10 Apr 2010 16:02:34 +1000
Newsgroups gmane.org.user-groups.slug.chat
Message-ID <[email protected]>
"Voytek Eymont" <[email protected]> writes:
> On Thu, March 4, 2010 1:59 pm, Steffen Schulz wrote:
>> On 100304 at 09:45, Ken Foskey wrote:
>>> On Tue, 2010-03-02 at 22:48 +1100, Voytek Eymont wrote:
>
>> Alternative to curl is to use good old wget, which might look like:
>> wget --post-data 'username=me&password=foo' --save-cookies session.tmp
>
> Steffen and everyone replied, many thanks
> decided to go with wget as it was something I've used in the past

[...]

> how to ditch all text past a keyword?

awk '/^References/ { exit } { print }' input.text

        Daniel

-- 
✣ Daniel Pittman            ✉ [email protected]            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html