Deleting lines containing a specific string?

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 2
Joined: Tue Oct 16, 2007 3:57 pm

Deleting lines containing a specific string?

Post by LeiboviciA »

Are there plans to implement the following functions?:

- (select and) move all lines containing (or not containing) a specified string to another file
- delete all lines containing (or not containing) a specific string

Would be very useful.

TIA

Alex

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

See LinesFilter.js in Scripts plugin distributive.

Offline
Posts: 2
Joined: Tue Oct 16, 2007 3:57 pm

Post by LeiboviciA »

Thank you. It works well; however, for really big files it is too slow. In native mode it would be much faster...

Alex
Post Reply