in reply to greping from directories
...my suggestion stems from the time-honored principle, "divide and conquer."
From a prompt, and while currently in the main23 directory, run the grep by hand. I'm betting that this is a problem that will reproduce when you do the operation by hand. If it does recur, then you can consider things like directory permissions and so forth.
If the grep command works from your shell prompt, but does not when you run your script, then you want to consider the effects of your quotation of the command, and you may also want to do some exploration to determine if the instance of grep that you run from your script is the same that runs when you use your shell.
I'll experiment here and see if I can see the same effect you are seeing.
---v
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: greping from directories
by agentv (Friar) on Jul 23, 2002 at 16:12 UTC |