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: shell question

Re: shell question

From: <Brian_P_MacLean_at_eFunds.Com>
Date: Thu, 17 Jul 2003 12:02:21 -0700
Message-Id: <25946.338303@fatcity.com>


Sounds to simple so I must be missing a few of the requirements (...

cat myfile

      or

#!/bin/ksh
cat myfile | while read LINE
do
  print ${LINE}
done

                                                                                                                                         
                      <A.Bahar_at_billing-comp                                                                                              
                      onents.com>                  To:       Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>                 
                      Sent by:                     cc:                                                                                   
                      ml-errors_at_fatcity.com        Subject:  shell question                                                              
                                                                                                                                         
                                                                                                                                         
                      07/17/2003 12:09 PM                                                                                                
                      Please respond to                                                                                                  
                      ORACLE-L                                                                                                           
                                                                                                                                         
                                                                                                                                         





 hi all ,

    how can I read a text file and print line by line.

Rgds.
Arslan.
--

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

Author: <A.Bahar_at_billing-components.com
  INET: A.Bahar_at_billing-components.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
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 Jul 17 2003 - 14:02:21 CDT

Original text of this message

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