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

Home -> Community -> Mailing Lists -> Oracle-L -> dumn unix script question

dumn unix script question

From: Janet Linsy <janetlinsy_at_yahoo.com>
Date: Thu, 07 Jun 2001 16:24:00 -0700
Message-ID: <F001.003215BA.20010607145558@fatcity.com>

Hi all,

This must be a really dumn question. :-<

I have a script which doesn't work well, since it doesn't recognize a subroutine. I compared my code with other codes that work fine with sub function, and didn't see any difference. (at least look the same style to me.)

So I wrote a really small scipt to test the sub:



#!/bin/ksh

echo "supposed to show hello below"
quick_test

function quick_test {

        echo "hello"
}



after I run it, I got: 1[3]: quick_test: not found.

The box is:
Machine hardware: sun4u
OS version: 5.6

Don't know ksh version, how to know ksh version really?

Thanks!

Janet



Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
--

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

Author: Janet Linsy
  INET: janetlinsy_at_yahoo.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 Thu Jun 07 2001 - 18:24:00 CDT

Original text of this message

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