Search Results

Search: Posts Made By: lemele
3,167
Posted By lemele
need to concatenate spuriously separated lines
gersh99,

I tried the modified version of your "nawk" one-liner and it worked. Interestingly, the two files that are needed for comparison come from 2 RDBMS's (DB2 & Sybase), the resulting data...
3,167
Posted By lemele
need to concatenate spuriously separated lines
binlib,

thanks for your comment; can you suggest a concrete solution to the problem at hand?

Thanks
3,167
Posted By lemele
need to concatenate spuriously separated lines
gersh99,

upon further examination of the input file I have encountered spurious new lines that were not anchored to pattern "^|". In such cases, your "nawk" one-liner choked with the following...
3,167
Posted By lemele
need to concatenate spuriously separated lines
vgersh99,

Thanks very much for the reply. It almost worked; the nawk choked, however as it found some instances of other spurious new lines embedded in the fields. Now, the problem needs to be...
3,167
Posted By lemele
need to concatenate spuriously separated lines
Methyl,

Here is a re-posted set of records; they do have a fixed format (fixed number of fields (25), "|" separated); the only problem is that some of these records get disjointed when imported by...
3,167
Posted By lemele
Methyl, Unfortunately, as the data is coming...
Methyl,

Unfortunately, as the data is coming from the DB2 database (the database we don't own), it won't be easier to to fix the data at the source; therefore, I was seeking a programmatic...
3,167
Posted By lemele
Need to concatenate spuriously separated lines
Given the pattern below:

3113296571|NULL|NULL|NULL||N| 1| 0| 926667| 1001036| 0| 3076120438|NULL|NULL|NULL|NULL|DUE FOR NEW CONSENT!|N|NULL|
...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 07:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy