Thank you! Close, but no cigar.
It won't alternate lines. I expected "-d '/n'" to do it, the result is line1file1/line1file2 on one line.
However "-d '#'" is close to my desired with line1file1#line1file2(#line1file3) on one line, and this result is usable.
That's safe and makes my manual edit easier. It seems a lost cause to avoid a manual edit since any logic I inject is foiled by 'stupid'.
I'm parsing dvb scan files and each line contains important info and 'text' that is entered by various employees of varied intelligence, for which parsing is impossible. I need to manually clean it no matter what.
Problem #2 is the files order is based on frequency and that relation changes too, meaning I need to move blocks of info, with no pre-logic I can think of possible since each change would be unique.
If anybody has had a particular TV not receive all channels I might be able to tell you why!
Maybe this useful naming!
- Code: Select all
Presented by KCEC:581000000:8VSB:65:68:2
Presented by KCEC:581000000:8VSB:81:84:3
Presented by KCEC:581000000:8VSB:97:100:4
Or overlapping affiliates (I have a really good antenna!)
- Code: Select all
MYS:177000000:8VSB:65:68:4
Laff:177000000:8VSB:81:84:5
......
MYS:569000000:8VSB:65:68:4
Laff:569000000:8VSB:81:84:5
Or total ambiguity
- Code: Select all
[0002]:479000000:8VSB:65:68:2
Those errors barf on some devices. I can correct them, but maybe not automagically...