dickiebird
Programmer
Guys
I have a file ( sample below ) that should only have lines beginning with the date stamp. But the file sent has 4 lines per record. There's spurious newlines at pos 102, 188 and 264 that shouldn't be there.
How to remove 'em ????
The examples don't show too well on the display below though
01 JUN 02 B37171 31 6 +$0000000000000 +$0000000000000 +$0000000000000 +$0000
000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000020000 +$0000
000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000
000000000
01 JUN 02 B37271 21 7 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000020000 +$0000000000000 +$0000000000000 +$0000
000000000 +$0000000000000 +$0000000000000 +$0000000000000+$0000000000000 +$0000000000000 +$0000
000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000
000000000
should be :
01 JUN 02 B37171 31 6 +$0000000000000 +$0000000000000 +$0000000000000 +0 etc etc
01 JUN 02 B37271 21 7 +$0000000000000 +$0000000000000 +$0000000000000 +0 etc etc
TIA ;-)
Dickie Bird
db@dickiebird.freeserve.co.uk
I have a file ( sample below ) that should only have lines beginning with the date stamp. But the file sent has 4 lines per record. There's spurious newlines at pos 102, 188 and 264 that shouldn't be there.
How to remove 'em ????
The examples don't show too well on the display below though
01 JUN 02 B37171 31 6 +$0000000000000 +$0000000000000 +$0000000000000 +$0000
000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000020000 +$0000
000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000
000000000
01 JUN 02 B37271 21 7 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000020000 +$0000000000000 +$0000000000000 +$0000
000000000 +$0000000000000 +$0000000000000 +$0000000000000+$0000000000000 +$0000000000000 +$0000
000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000000000000 +$0000
000000000
should be :
01 JUN 02 B37171 31 6 +$0000000000000 +$0000000000000 +$0000000000000 +0 etc etc
01 JUN 02 B37271 21 7 +$0000000000000 +$0000000000000 +$0000000000000 +0 etc etc
TIA ;-)
Dickie Bird
db@dickiebird.freeserve.co.uk