I have a Mac OS X snow leopard. I am using the xterm terminal to grep specific string using this command grep -R --color=auto setHeader *.js
but when I run this command I get the error saying
grep: \*.js: No such file or directory
So my question is how can I grep for a specific filetype on Mac?