Filewatcher File Search File Search
Catalog
Content Search
» » » » abs-guide_6.2.orig.tar.gz » Content »
pkg://abs-guide_6.2.orig.tar.gz:1432746/abs-guide-6.2/abs/HTML/  info  downloads

todolist.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>To Do List</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Advanced Bash-Scripting Guide"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Download and Mirror Sites"
HREF="mirrorsites.html"><LINK
REL="NEXT"
TITLE="Copyright"
HREF="copyright.html"><META
HTTP-EQUIV="Content-Style-Type"
CONTENT="text/css"><LINK
REL="stylesheet"
HREF="common/kde-common.css"
TYPE="text/css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=iso-8859-1"><META
HTTP-EQUIV="Content-Language"
CONTENT="en"><LINK
REL="stylesheet"
HREF="common/kde-localised.css"
TYPE="text/css"
TITLE="KDE-English"><LINK
REL="stylesheet"
HREF="common/kde-default.css"
TYPE="text/css"
TITLE="KDE-Default"></HEAD
><BODY
CLASS="APPENDIX"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#AA0000"
VLINK="#AA0055"
ALINK="#AA0000"
STYLE="font-family: sans-serif;"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Advanced Bash-Scripting Guide: An in-depth exploration of the art of shell scripting</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="mirrorsites.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="copyright.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="APPENDIX"
><H1
><A
NAME="TODOLIST"
></A
>Appendix Q. To Do List</H1
><UL
><LI
><P
>A comprehensive survey of <A
HREF="portabilityissues.html#BASHCOMPAT"
>incompatibilities</A
> between
		  Bash and the classic <A
HREF="why-shell.html#BASHDEF"
>Bourne
		  shell</A
>.</P
></LI
><LI
><P
>Same as above, but for the Korn shell
		  (<I
CLASS="FIRSTTERM"
>ksh</I
>).</P
></LI
><LI
><P
>A primer on CGI programming, using Bash.</P
><P
>Here is a simple CGI script to get you started.</P
><DIV
CLASS="EXAMPLE"
><HR><A
NAME="TESTCGI"
></A
><P
><B
>Example Q-1. Print the server environment</B
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>   1 #!/bin/bash
   2 # May have to change the location for your site.
   3 # (At the ISP's servers, Bash may not be in the usual place.)
   4 # Other places: /usr/bin or /usr/local/bin
   5 # Might even try it without any path in sha-bang.
   6 
   7 # test-cgi.sh
   8 # by Michael Zick
   9 # Used with permission
  10 
  11 
  12 # Disable filename globbing.
  13 set -f
  14 
  15 # Header tells browser what to expect.
  16 echo Content-type: text/plain
  17 echo
  18 
  19 echo CGI/1.0 test script report:
  20 echo
  21 
  22 echo environment settings:
  23 set
  24 echo
  25 
  26 echo whereis bash?
  27 whereis bash
  28 echo
  29 
  30 
  31 echo who are we?
  32 echo ${BASH_VERSINFO[*]}
  33 echo
  34 
  35 echo argc is $#. argv is "$*".
  36 echo
  37 
  38 # CGI/1.0 expected environment variables.
  39 
  40 echo SERVER_SOFTWARE = $SERVER_SOFTWARE
  41 echo SERVER_NAME = $SERVER_NAME
  42 echo GATEWAY_INTERFACE = $GATEWAY_INTERFACE
  43 echo SERVER_PROTOCOL = $SERVER_PROTOCOL
  44 echo SERVER_PORT = $SERVER_PORT
  45 echo REQUEST_METHOD = $REQUEST_METHOD
  46 echo HTTP_ACCEPT = "$HTTP_ACCEPT"
  47 echo PATH_INFO = "$PATH_INFO"
  48 echo PATH_TRANSLATED = "$PATH_TRANSLATED"
  49 echo SCRIPT_NAME = "$SCRIPT_NAME"
  50 echo QUERY_STRING = "$QUERY_STRING"
  51 echo REMOTE_HOST = $REMOTE_HOST
  52 echo REMOTE_ADDR = $REMOTE_ADDR
  53 echo REMOTE_USER = $REMOTE_USER
  54 echo AUTH_TYPE = $AUTH_TYPE
  55 echo CONTENT_TYPE = $CONTENT_TYPE
  56 echo CONTENT_LENGTH = $CONTENT_LENGTH
  57 
  58 exit 0
  59 
  60 # Here document to give short instructions.
  61 :<<-'_test_CGI_'
  62 
  63 1) Drop this in your http://domain.name/cgi-bin directory.
  64 2) Then, open http://domain.name/cgi-bin/test-cgi.sh.
  65 
  66 _test_CGI_</PRE
></TD
></TR
></TABLE
><HR></DIV
></LI
></UL
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="mirrorsites.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="copyright.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Download and Mirror Sites</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
> </TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Copyright</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com