bsdpro.se

random computer tech stuff

bsdpro.se

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About
  • π

Category Archives: Notepad++

Sort, and delete duplicate lines in Notepad ++

Posted on December 4, 2018 by shelter
Reply

Select Edit> Line Operations> Sort Lines as Integer Ascending
Then press Ctrl-F and enter in the find field: ^(.*?)$\s+?^(?=.*^\1$)
Check “Regular expression” and select replace.

Posted in Notepad++ | Leave a reply

Recent Posts

  • Fix OpenBSD guest CPU idle usage – KVM / Proxmox (qemu)
  • Resize a qcow2 disk image on Linux
  • Quick reference/Howto – Create a PR on Github
  • Import wireguard config to NetworkManager
  • FreeBSD – Upgrade PHP 7.4 to 8.0 in one line

Recent Comments

  • shelter on Dnsmasq – Conditional DNS Forwarding for Windows Active Directory Domains
  • Aleksandr on Dnsmasq – Conditional DNS Forwarding for Windows Active Directory Domains
  • full hd tek parça izle on Fix Remove-AppxProvisionedPackage error

Archives

  • July 2024
  • June 2024
  • September 2022
  • June 2021
  • December 2019
  • July 2019
  • December 2018
  • November 2018

Categories

  • bash
  • FreeBSD
  • gentoo
  • github
  • Linux
  • nginx
  • Notepad++
  • OpenBSD
  • OpenWRT
  • qemu
  • Windows 10

My account

  • Log in
Proudly powered by WordPress