[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Shell com CGI
From: |
Gustavo Jantsch |
Subject: |
Re: [shell-script] Shell com CGI |
Date: |
Thu, 2 Sep 2004 09:43:06 -0300 |
Sim! É possível!
E é muito fácil!
Sugestão de leitura: http://aurelio.net/shell/
Por exemplo o script abaixo é lista as variáveis ambiente:
#!/bin/sh
echo Content-type: text/html
echo ""
/bin/cat << EOM
<HTML>
<HEAD><TITLE>Env</TITLE>
</HEAD>
<BODY bgcolor="#cccccc" text="#000000">
<P>
<SMALL>
<PRE>
EOM
/bin/env
CAT << EOM
</PRE>
</SMALL>
<P>
</BODY>
</HTML>
EOM
On Thu, 2 Sep 2004 08:29:07 -0300 (ART)
Izabelle Passos Gouvÿffffeaa <address@hidden> wrote:
> Pessoal,
>
> É possível utilizar o Shell Script no lugar do PERl
> com cgi?
>
> Izabelle
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> ---------------------------------------------------------------------
> Esta lista não admite a abordagem de outras liguagens de programação, como
> perl, C etc. Quem insistir em não seguir esta regra será moderado sem prévio
> aviso.---------------------------------------------------------------------
> Sair da lista: address@hidden
> ---------------------------------------------------------------------
> Esta lista é moderada de acordo com o previsto em
> http://www.listas-discussao.cjb.net
> ---------------------------------------------------------------------
>
> Links do Yahoo! Grupos
>
>
>
>
>
>
>