[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: print trailing spaces



> We have an SQR report that creates a flat file.  This file is supposed
> to have a trailing space at the end of each line.  Under version 2.27
> this worked fine.  The command we were using is:
>
> print ' '             (,,1)
>
> We are now running V3.0.5.  This is stripping all trailing spaces.  I

Our SQR v.3.0.15 for SCO/Oracle has a flag "-XTB" that preserves trailing
blanks in the output file.  I'm not sure what versions of SQR have this
flag; you can see if yours does by running SQR without giving it any
arguments on the command line.  My guess would be that all versions which
strip the trailing blanks also have this flag to suppress the new
behavior, but I'm not sure about that.

                                                        Nathan

----------------------------------------------------------------------------
Nathan Treadway    | Ray Ontko & Co. | info@ontko.com (auto-reply server)
nathant@ontko.com  | Richmond, IN    | ftp.ontko.com, http://www.ontko.com/