Removing lines
am 15.04.2007 21:06:09 von gamito
Hi,
I have this site that auto generates an index.html file every 15 minute=
s
(it's a blog aggregator).
I need that every time the file is generated, all the contents between
the lines
href=3D"http://domain.com/2006/08/bourne-shell.html">Bourne Shell=
h4>
and
Sáb, 1=
4 Abr
2007 12:31:07
to be deleted (including these two ones).
I've tried several ways and googled but i can't do the trick.
Any help would be appreciated.
Warm Regards
--=20
:wq! M=E1rio Gamito
--=20
:wq! M=E1rio Gamito
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Removing lines
am 15.04.2007 22:16:59 von Adrian Calinescu
M=E1rio Gamito wrote:
> Hi,
>
> I have this site that auto generates an index.html file every 15 min=
utes
> (it's a blog aggregator).
>
> I need that every time the file is generated, all the contents betwe=
en
> the lines
>
> href=3D"http://domain.com/2006/08/bourne-shell.html">Bourne Shell
>
>
> and
>
> Sáb=
, 14 Abr
> 2007 12:31:07
>
> to be deleted (including these two ones).
>
> I've tried several ways and googled but i can't do the trick.
>
> Any help would be appreciated.
>
> Warm Regards
sed is your friend here. Plenty of tutorials on the web.
--Adrian.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html