DS has asked for the wisdom of the Perl Monks concerning the following question:
in my script , I have to be under main23 directory , but I would like to grep for stuff under main22 but it complains because it can't find or see main22. how can I do this ,, my grep command looks like this/main23/loge/do.pl /main22/loges/de.pl
when running the script , i get somthing like thissystem (qq(grep $file /main23/loge/do.pl /main22/loges/de.pl > out.txt));
again I have to be under main23 to run it ,, Thanksgrep: /main23/loge/do.pl: No such file or directory grep: /main22/loges/de.pl: No such file or director
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: greping from directories
by redsquirrel (Hermit) on Jul 23, 2002 at 15:03 UTC | |
Re: greping from directories
by Aristotle (Chancellor) on Jul 23, 2002 at 15:04 UTC | |
Re: greping from directories
by agentv (Friar) on Jul 23, 2002 at 16:00 UTC | |
by agentv (Friar) on Jul 23, 2002 at 16:12 UTC |