RE: Outputting shell command to a browser

2001-11-02 Thread Gary Hawkins
> The overall problem is not if grep works or not, but why the > output from the backticks does not show up in the cgi. I only put > the grep in there to make the code read easier. $results does not > have anything in the cgi with or without the grep. Below is the code > again. Am I not

Re[2]: Outputting shell command to a browser

2001-11-02 Thread Maxim Berlin
Hello Robert, Friday, November 02, 2001, Robert Thompson <[EMAIL PROTECTED]> wrote: RT> The overall problem is not if grep works or not, but why the RT> output from the backticks does not show up in the cgi. I only put RT> the grep in there to make the code read easier. $results does not

RE: Outputting shell command to a browser

2001-11-01 Thread Gary Hawkins
> > print `/usr/bin/dig -x $ip | /usr/bin/grep PTR`; > > > > does not. > > Works fine on my system, as it should. Are you sure your grep > is in /usr/bin? whereis grep grep: /usr/5bin/grep /usr/bin/grep /usr/man/man1/grep.1v /usr/5bin/grep also does not work. g -- To unsubscribe,

RE: Outputting shell command to a browser

2001-11-01 Thread Bob Showalter
> -Original Message- > From: Gary Hawkins [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 31, 2001 4:17 PM > To: Robert Thompson; [EMAIL PROTECTED] > Subject: RE: Outputting shell command to a browser > > > Pipe not working with /usr/bin/grep.

RE: Outputting shell command to a browser

2001-11-01 Thread Gary Hawkins
ip`)); /g > -Original Message- > From: Robert Thompson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 31, 2001 5:31 PM > To: [EMAIL PROTECTED] > Subject: Outputting shell command to a browser > > > Hello, > > I am working on a script that uses the

Outputting shell command to a browser

2001-10-31 Thread Robert Thompson
Hello, I am working on a script that uses the backticks to execute a shell command, and I want to output the results to a webpage. The problem I am having is that the command I am running seems to take too long and the cgi does not return anything for that variable. Is there a way to m