[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Standalone html-parser
From: |
Hrvoje Niksic |
Subject: |
Re: [Bug-wget] Standalone html-parser |
Date: |
Wed, 27 May 2009 19:32:20 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Pranav Kuber <address@hidden> writes:
> Hi all,
>
> I am new to using Wget. I had a query which may look primitive. I have
> compiled the standalone html parser (html-parse.c). However, when I try to
> run it, it just does nothing.
>
> I did the following:
>
> gcc html-parse.c -o standalone_parser
> ./standalone_parser some_html.html
>
> Is there something missing?
The test program reads the HTML from the standard input, so your line
should be:
./standalone_parser < some_html.html