Script question

From: Geon Reuben (geomonap_at_rediffmail.com)
Date: 11/29/04

  • Next message: jastrologo_at_factset.com: "iscsi initiator on Solaris8/9"
    Date: 29 Nov 2004 18:54:38 -0000
    To: sunmanagers@sunmanagers.org
    
    

    Hi guys:
    I am trying to understand a shell program. I hope you guys can shed
    some light on my questions.
    The following program edits the a file. The
    following is a snippet of the file fromt he start.
    #----------------------
    #
    start of shell script
    #----------------------
    :
    # fileadd.sh
    # version 3.4 Wed
    Feb 16 08:33:18 PST 2000 savefile
    # version 4.0
    umask 022
    Intro() {
    myfile=<somefile>

    cat << EOF_INTRO

    $MYNAME : This file adds the new users to
    this file
    deleted old users as their subscription expires or
    is cancelled.
    t_echo 0 " File $myfile is not correct "
    t_echo 3 " "
    EOF_INTRO

    }
    #----------
    end of file --------------

    The questions that I have are:
    - The file starts
    with ":". What does that mean ?
    - What is "t_echo 0" and "t_echo 3"?. Is that
    the same as echo ? What do the numbers indicate?

    Thanks for you help.
    GR
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: jastrologo_at_factset.com: "iscsi initiator on Solaris8/9"