Created
April 22, 2014 16:36
-
-
Save itsananderson/11185881 to your computer and use it in GitHub Desktop.
Convert Bash Shell path to Windows path
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
!#/bin/sh | |
kdiff_win_path=`echo $kdiffpath | sed -e 's/\//\\\\/g' | sed -e 's/^\\\\c/c\:/' | sed -e 's/ /\\ /g'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment