Skip to content

Instantly share code, notes, and snippets.

@tnhu
Created January 12, 2017 00:48
Show Gist options
  • Save tnhu/4569211a3f1c6758ba22e7281aa739b3 to your computer and use it in GitHub Desktop.
Save tnhu/4569211a3f1c6758ba22e7281aa739b3 to your computer and use it in GitHub Desktop.

Revisions

  1. tnhu created this gist Jan 12, 2017.
    13 changes: 13 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    Find what: (^.*): (.*$)
    Replace with: "$1": "$2",

    --
    Before:

    memberOf: CN=Realtime Systems,OU=DEPT,OU=Groups,DC=corp,DC=qc
    department: Inventory & DMP

    After:

    "memberOf": "CN=Realtime Systems,OU=DEPT,OU=Groups,DC=corp,DC=qc",
    "department": "Inventory & DMP",