File Sorting

Solved
Geniso -  
[Dal] Posted messages 6122 Registration date   Status Contributor Last intervention   -
Hello,

I have a text file that has about 100,000 lines and I would like to sort all of this, so does anyone know of a program that can, for example, export to another text file all the lines that contain the word (TAB) for instance? Or delete all the lines that contain the word (BTC).
Kind regards

2 answers

  1. [Dal] Posted messages 6122 Registration date   Status Contributor Last intervention   1 108
     
    1
    1. Geniso
       
      Hello, thank you for your response

      I am on Windows but with Notepad++, it only deletes the word and not the line.
      0
    2. Geniso
       
      Yes, thank you very much, I forgot to reply to you. After my response, I went to check the link and I managed to sort a file of several thousand lines in about ten minutes. Thank you very much, but I don't know how to mark the post as "resolved."
      0
    3. [Dal] Posted messages 6122 Registration date   Status Contributor Last intervention   1 108
       
      It's done :-)
      0
  2. Logs Posted messages 6 Status Member
     
    Good evening,

    I am not familiar with any software that does this, but most word processors allow you to search for a word, and even replace it, which could already make your task a bit easier (Ctrl+F to search and Ctrl+H to search and replace, I believe).
    0
    1. Geniso
       
      Yes, but there are 100,000 lines and using Ctrl+F is tedious. Is it possible to create a script in Java or something?
      0
      1. Logs Posted messages 6 Status Member > Geniso
         
        It doesn't seem to exist at the moment, I don't know if it's possible, I'll keep looking, I'll keep you updated.
        0