Created
July 7, 2015 08:02
-
-
Save secretGeek/27a5678907e1803a5a15 to your computer and use it in GitHub Desktop.
todo.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dir *.md | % { $file = $_.Name; get-content $_ | select-string -pattern "//TODO:" | % { $file.substring(0,10) + ":" + $_.ToString().replace("//TODO:","").trim() }} | more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment