in reply to Re: one liner to capture value of field and insert in another field
in thread one liner to capture value of field and insert in another field
I guess i jumped the gun a little bit. My apologies. It works for the sample i provided, but the real file has almost 300 fields in each record..some of those values are populated and some aren't...so simply joining a "|" at the end doesn't work for the actual file.
is there a way to do what you did but instead of Joining one pipe at the end can we somehow join the remaining ~300 col values to each record?
row|1|CUSIP|35472T200|ARDIV|||20150112|||||||||||||||||||||||||||||||| +|||||||||||||||||||||20150321||||||G||||||||||||||||||||FR||||||||||| +||||||||||||||||||||||||||||||||||||X|||||||||||||||||||||||||||||||| +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +||||||||||||||||||||||||||||||||||||||||LIQ|||||||||||||||||||||||||| +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +||||||||||||
Sorry for the incomplete data and thx again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: one liner to capture value of field and insert in another field
by choroba (Cardinal) on Jan 28, 2015 at 16:38 UTC | |
by Anonymous Monk on Jan 28, 2015 at 16:45 UTC | |
|
Re^3: one liner to capture value of field and insert in another field
by Anonymous Monk on Jan 28, 2015 at 16:09 UTC | |
by dirtdog (Monk) on Jan 28, 2015 at 16:24 UTC |