Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: grep - invalid argument



On May 2, 12:38pm, Jerry Rocteur wrote:
} 
} Does anyone know which zsh setting would make grep give error:
} 
} grep: xxx: Invalid argument
} 
} Where xxx is a subdirectory of where you are running your grep from ?

You'll have to be more specific about the grep command line that causes
the error.

On a guess, there is a file in the current directory that has a name
beginning with a dash ("-") and you used a glob pattern to match the
files that you're grepping.



Messages sorted by: Reverse Date, Date, Thread, Author