Re: remove comment lines from .txt file
- From: Michael <useitall@xxxxxxxxx>
- Date: Wed, 10 Dec 2008 03:10:02 -0800 (PST)
On Dec 10, 4:32 am, houghi <hou...@xxxxxxxxxxxxxxxxxx> wrote:
Right. In an editor that has Regex find/replace (like vim):
will remove all lines that begin with #
Only the first few lines in the beginning apparently need to be removed.
I would do such a thing on Linux with just pressing 'd' a few times. On
Windows I use Notepad++. No idea wether that can easily open such a
But apparently it needs to be done each and every day. Then I think not
having the comments there in the first place will help, or not having
problems with the comments.
Depending on what it is needed for and what is possible obviously.
Personally, I think most sports fans are a little "gay". They'd
rather watch a bunch of sweaty guys jumping all over eachother,
than, say fashion TV - where hot models walk down the runway.
We will do it with bash script. Thanks all for your suggestions.
Kind regards, Michael
- Prev by Date: Re: Using PHP to parse specific XML tag content?
- Next by Date: Re: seeing who is using the site..
- Previous by thread: Re: remove comment lines from .txt file
- Next by thread: Re: remove comment lines from .txt file