Date: Tue, 22 Jul 1997 20:37:09 -0700 (PDT) From: Shawn Ramsey <shawn@luke.cpl.net> To: questions@freebsd.org Subject: shell script Message-ID: <Pine.BSF.3.95.970722202748.1832A-100000@luke.cpl.net>
next in thread | raw e-mail | index | archive | help
OK.. I know this isnt exactly the place for this.... but there are a lot of bright people on this list. :) I am trying to use the following shell script as a CGI script : #! /bin/sh echo $PrintHeader; echo "<HTML><BODY>"; echo $1; echo "<PRE>"; grep $1.....$2 /var/log/ts1.redusage.txt.detail | awk '{sum += $6 ; print $0" " sum}'; echo "</PRE>"; echo "</BODY></HTML>"; This script WILL work from a web page if called like the this : http://address.com/cgi-bin/use1?username....Month Somewhat.. if you go to http://cyberg8t.com/cgi-bin/use1?rifka.....July you can see what im trying to do... thanks if anyone would be nice enough to help. :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970722202748.1832A-100000>