Hi all,
I am trying to enable this BASH function which use sed command
function cdc{
eval $x=\"$(sed 's_\\_/_g' $1)\"
cd $x
}
USAGE: cdc c:\users\us2\
Aim is to replace c:\users\us2\ into c:/users/us2/ to be executable by Cygwin. I am not sure why this does not work. Any idea?
Thanks
Krava
I am trying to enable this BASH function which use sed command
function cdc{
eval $x=\"$(sed 's_\\_/_g' $1)\"
cd $x
}
USAGE: cdc c:\users\us2\
Aim is to replace c:\users\us2\ into c:/users/us2/ to be executable by Cygwin. I am not sure why this does not work. Any idea?
Thanks
Krava