Created
June 25, 2012 23:57
-
-
Save NigelThorne/2992186 to your computer and use it in GitHub Desktop.
grep on windows
This file contains hidden or 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
| @REM On windows grep's slashes are the wrong way around. | |
| @"%~dp0tools\grep.exe" %* | ruby -n -e' x = $_.split(":"); x[0].gsub!(/\//, "\\"); puts x.join(":")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment