![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calling shell functions from another shell script | jisha | Shell Programming and Scripting | 6 | 04-05-2008 05:29 PM |
| Calling Shell Script | onlyroshni | Shell Programming and Scripting | 1 | 10-22-2007 08:29 PM |
| calling sql file from shell script | dummy_needhelp | Shell Programming and Scripting | 6 | 09-30-2007 11:55 PM |
| Problem with Calling sql file from shell script | sskc | Shell Programming and Scripting | 1 | 05-03-2007 06:20 PM |
| Calling shell script ? | Ravi_Kandula | Shell Programming and Scripting | 1 | 10-07-2002 10:30 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
calling a cgi file from shell script????
Hi..
Is it possible to call a cgi program which is used to display a pop up message in the else part...On executing the script it directly prints the source code of the pop up screen.. Please if you have any idea,share with us.Thanks. #start success250=`grep -c failure /proj/mats/www/mats/tmp/data_cpars_job.out` mail_list="elavv2003@gmail.com" if [ "$success250" -eq 1 ] then echo "Hi success" else echo "Hi failure" perl cpars.cgi fi #End |
|
||||
|
Maybe you can change the cgi script to show its output in plain text with an option (or maybe if some of the standard CGI variables are unset, indicating that it is being run from the command line); or else, pipe the output to something which strips out the HTML tags, such as a simple sed script.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|