• Post Reply Bookmark Topic Watch Topic
  • New Topic

Delete specific line  RSS feed

 
Rajeev Kashyap
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Following are the line in a file

[26/Nov/2004:01:24:08 +0530] SSLv3 RC4-MD5 "GET / HTTP/1.1" 1266
[27/Nov/2004:01:24:08 +0530] SSLv3 RC4-MD5 "GET /style.css HTTP/1.1" 7679
[28/Nov/2004:01:24:08 +0530] HTTP/1.1" 7967
[29/Nov/2004:01:24:08 +0530] HTTP/1.1" 2173
[30/Nov/2004:01:24:08 +0530] HTTP/1.1" 2458
[1/DEC/2004:01:24:08 +0530] HTTP/1.1" 2563
[2/DEC/2004:01:24:08 +0530] HTTP/1.1" -

Now I want to delete line of date 27/NOV/2004

Pls let me know how do I do it?

Thanks in advance
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a pretty common question in this forum. I like Stan's answer in this topic. That topic is about replacing data, but the same applies to deleting.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!