sindresorhus / grunt-shell

Run shell commands
MIT License
949 stars 126 forks source link

Bash pattern matching does not work properly with git bash #116

Closed eimfach closed 7 years ago

eimfach commented 7 years ago

I am running following command on git bash (windows)

paste --delimiter=\\n --serial src/libs/**/*[^.spec].js > test.js

with shopt:

globstar on
extglob on

This successfully concats all js files recursively from src/libs on, except all *.spec.js files when executed from terminal.

However, when I run this command through grunt-shell it works also but : [^.spec] is ignored. Means all my *.spec.js files get into test.js too.