Alan,
 What do you mean the file is to large for vi?  If you are going to string the lines 
together be sure that you don't overrun the linitations of the server input line 
length. If you need to have continuations in the line I think that the \ tells the 
server the command is continued on the next line.
 Check the server manufacturer's site for support discussions.
ROR mª¿ªm

>>> [EMAIL PROTECTED] 11/15/01 12:55PM >>>
If I have the following two-line sql statement in a file:

SELECT A,B,C FROM TABLE1
WHERE A=1;

and want to create a single line, I could use the following sed script:

/[^;]$/{
 N
 s/\n/ /
}

which would produce:

SELECT A,B,C FROM TABLE1 WHERE A=1;

What would my sed script look like if there were 2, 3, or even 4
continuation lines (unknown number of lines)?
Note that the file is too large for vi.
Any good UNIX sites where I could post UNIX questions?

Thanx,

Alan Martin
Principal Consultant
Defense Logistics Information Service
[EMAIL PROTECTED] 



--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ron Rogers
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to