|
Peter,
That searches the contents of a file named '*'. The '*' is no longer treated as a wildcard, because you put strong quotes around it, telling QShell not to expand it. (I don't know if grep expands wildcards?)
Seems to me (as I said in another post) what he wants is this:
QSH CMD('grep -R 110000890 /M3BE/env/PRD/Output')
Unless you have a good reason to make it more complicated than that?
On 1/23/2012 2:17 PM, Peter Dow wrote:
Hi Michael,
Thanks for that link to Scott's explanation (and thanks to Scott for the
explanation); I would've been stumped. But from Guy's previous posts,
grep needs a list of files, and there are too many. If Scott's
explanation of how to get around it for "find" will work with "grep",
then this ought to work:
QSH CMD('grep 110000890 ''/M3BE/env/PRD/Output/*''')
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.