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: Unix mailing List

RE: Unix mailing List

From: Santosh Varma <vsantosh_at_psi.soft.net>
Date: Wed, 05 Dec 2001 02:35:43 -0800
Message-ID: <F001.003D58C1.20011205010528@fatcity.com>

we can check the existence of the file by using fopen command and in read mode.
if(fopen("temp.rpt","r) == null

   return(0) -> file not found.

-----Original Message-----
Sent: Wednesday, December 05, 2001 1:40 PM To: Multiple recipients of list ORACLE-L

Hi all,

Can someone recommend good unix mailing list

by the way how to check the existence of a file ?

My logic :

        if (findThisFile(/tmp/myfile.txt) == 0)
                echo "the file is exists"
        else
                echo "file not found"
        endif


what is the unix function for findThisFile()

Thank you,

Sinardy
Hoping Peace in Middle East
and the rest of the World

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sinard Xing
  INET: sinardyxing_at_bcs-ach.com.sg

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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Santosh Varma INET: vsantosh_at_psi.soft.net 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 Wed Dec 05 2001 - 04:35:43 CST

Original text of this message

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