From: Adrian Calinescu <office@snobu.org>
To: linux-admin@vger.kernel.org
Subject: Re: Removing lines
Date: Sun, 15 Apr 2007 23:16:59 +0300 [thread overview]
Message-ID: <4622883B.3000909@snobu.org> (raw)
In-Reply-To: <462277A1.2020706@gmail.com>
Mário Gamito wrote:
> Hi,
>
> I have this site that auto generates an index.html file every 15 minutes
> (it's a blog aggregator).
>
> I need that every time the file is generated, all the contents between
> the lines
> <h4 class="post-title"><a
> href="http://domain.com/2006/08/bourne-shell.html">Bourne Shell</a></h4>
>
> and
>
> <p><a href="http://domain.com/2006/08/bourne-shell.html">Sáb, 14 Abr
> 2007 12:31:07</a></p>
>
> 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
prev parent reply other threads:[~2007-04-15 20:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-15 19:06 Removing lines Mário Gamito
2007-04-15 20:16 ` Adrian Calinescu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4622883B.3000909@snobu.org \
--to=office@snobu.org \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.