Hot answers tagged cygwin
Poking around with various inputs, I felt grep did its own magic for line-endings: $ printf "foo\rbar\n" | grep -oz $'\r' | od -c 0000000 \r \n 0000002 $ printf "foo\rbar\r\n" | grep -oz $'\r' | od -c 0000000 $ printf "foo\rbar\r" | grep -oz $'\r' | od -c 0000000 \r \n \r \n 0000004 (The -z was my lame attempt to make grep match everything.) And so ...
Try putting it as -x '*AppData/*'
In cygwin you access drive letters by going through /cygdrive eg: sh /cygdrive/d/dev/Main/Env/tpsScripts/devenv.sh
Only top voted, non community-wiki answers of a minimum length are eligible