Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: KSH Scripting Questions

RE: KSH Scripting Questions

From: Ron Thomas <rthomas_at_hypercom.com>
Date: Mon, 10 Dec 2001 14:13:58 -0800
Message-ID: <F001.003D954F.20011210135751@fatcity.com>

Which one? I want to make sure I'm not living near it ;)

Now, where did my doughnut go...

Ron Thomas
Hypercom, Inc
rthomas_at_hypercom.com

                                                                                       
         
                    kgel_at_ppoone.c                                                      
         
                    om                   To:     ORACLE-L_at_fatcity.com                  
         
                    Sent by:             cc:                                           
         
                    root_at_fatcity.        Subject:     RE: KSH Scripting Questions      
         
                    com                                                                
         
                                                                                       
         
                                                                                       
         
                    12/10/01                                                           
         
                    02:27 PM                                                           
         
                    Please                                                             
         
                    respond to                                                         
         
                    ORACLE-L                                                           
         
                                                                                       
         
                                                                                       
         




Topic done.

Error found.

Some idiot ..... who will remain nameless if he wants to continue typing this message .... echo'ed a space to the file after he tested to see if it had been deleted in the monitor program. SO, the main program was deleting the file ... and the montor was recreating it .....

Doh ...

Just call me Homer ...

After all ... I did just come from working at a Nuclear Plant ....

-----Original Message-----
Sent: Monday, December 10, 2001 2:36 PM
To: Multiple recipients of list ORACLE-L

Thanks John.

-----Original Message-----
Sent: Monday, December 10, 2001 2:16 PM
To: Multiple recipients of list ORACLE-L

Yes, you can create a function in your program and call it or call another program.

my_function ()
{
  clean this
  clean that
}

trap "my_function" 0 1 2 ...

You can have different cleanup routines for different events or one cleanup routine and pass it the event type as:

trap "my_function 1" 1
trap "my_function 2" 2

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Ron Thomas
  INET: rthomas_at_hypercom.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Dec 10 2001 - 16:13:58 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US