Spool & Trailing Blanks
Date: Mon, 25 Jan 1993 11:32:39 GMT
Message-ID: <1993Jan25.133239.1_at_ntc02.tele.nokia.fi>
My environment:
What is done?
I'm spooling my query into a file with SQL*Plus's SPOOL command.
What is the problem?
SQL*Plus uses LINESIZE setting and puts trailing blanks in the
end of each line it spools. I need to remove all these blanks!
Can this be done by SQL*Plus?
What unix commands could be used to do this? I'm novice with unix.
2) Unix to Dos convertion
My final aim is to convert the spooled file, which in UNIX
format, into DOS format. That is, I need to put <CR><LF>
instead of <LF> in the end of each line.
Can this be done by SQL*Plus?
What unix command could be used to do this? I'm novice with unix.
line1 line1 <LF> line2 line2 line2 line2 <LF> line3 line3 line3 <LF>
line1 line1<CR><LF> line2 line2 line2 line2<CR><LF> line3 line3 line3<CR><LF>
Any help is appreciated!
-Mikko Kuismin Received on Mon Jan 25 1993 - 12:32:39 CET