* grep - invalid argument
@ 2011-05-02 10:38 Jerry Rocteur
2011-05-02 14:52 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Jerry Rocteur @ 2011-05-02 10:38 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
Hi,
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 ?
Note that we are running zsh in ksh compatibility mode:
ls -l $SHELL
lrwxrwxrwx 1 root root 8 Sep 25 2009 /bin/ksh -> /bin/zsh
echo $ZSH_VERSION
4.2.6
Thanks in advance,
Jerry
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: grep - invalid argument
2011-05-02 10:38 grep - invalid argument Jerry Rocteur
@ 2011-05-02 14:52 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2011-05-02 14:52 UTC (permalink / raw)
To: zsh-users
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-02 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-02 10:38 grep - invalid argument Jerry Rocteur
2011-05-02 14:52 ` Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).