• Login
Community
  • Login

How can i randomize/shuffle lines using notepad ++

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 5.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Rana Jawad 0
    last edited by Rana Jawad 0 Sep 7, 2020, 12:49 AM Sep 7, 2020, 12:48 AM

    i want to randomize lines (without any order) lines might contain digits or letters there can be alot of lines in file like 40000 plus i tried a python script but it dont seem to work with 64bit notepad++ the link to the script is HERE

    A 1 Reply Last reply Sep 7, 2020, 12:58 AM Reply Quote 0
    • A
      Alan Kilborn @Rana Jawad 0
      last edited by Alan Kilborn Sep 7, 2020, 12:58 AM Sep 7, 2020, 12:58 AM

      @Rana-Jawad-0

      The script you linked to works for me.
      The script has no 32-bit/64-bit dependency, so it will work in either.
      With no further description than “doesn’t seem to work”, no one can really offer anything beyond saying “sorry to hear that”.

      It appears Notepad++ itself is getting a “shuffle lines” feature, see HERE and THERE . I suppose nothing is stopping you from grabbing an unreleased build that has the feature in it, and using that for your randomization needs.

      1 Reply Last reply Reply Quote 2
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors