John,
Sorry about that.  Here's a set of examples

Before:
*,WIRE HARNESS,
,20403,16
,FIBERGLASS,
,100 FOOT,
,20400,7
,FIBERGLASS,
,250 FOOT SPOOL,
,WX12-0,35
,WX14-1BR/YLW,160
,YELLOW STRIPE,
,87K 7267,16
,SINGLE TWISTED PAIR SHIELDED,
,WITH DRAIN,
,32206,5
,RING NON INS.,
,DT06-3S,4
,W3S,2
,ORANGE,
,W3S-P012,2
,GREEN,
,DT06-2S,2*

After:
*WIRE HARNESS,,
,20403,16
,20400,7
,WX12-0,35
,WX14-1BR/YLW,160
,87K 7267,16
,32206,5
,DT06-3S,4
,W3S,2
,W3S-P012,2
,DT06-2S,2*

I'll take a look at that script later today.

Thanks for the response,

Cheers,

Blake M. Sisco
LOR Manufacturing Co., Inc
Web Presence • Graphic Design
www.lormfg.com
(866) 644-8622
(888) 524-6292 FAX

The information transmitted by Blake Sisco herewith is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material.  Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited.  If you
received this in error, please contact the sender and delete the material
from any computer



On Mon, Jul 13, 2009 at 7:06 PM, John Beckett <[email protected]>wrote:

>
> bsisco wrote:
> > Here's my problem.  I have a csv file that has just over 21k lines.
> > It's basically a bom list for some of our products.  It contains:
> > -Product P/N
> > |--Component P/N, Component QTY
> > |--Misc. info that is not needed
>
> It's too hard to decode your example. A simpler 'before and
> after' example (using short fields) would help.
>
> Meanwhile, there is a sensational script that can probably help,
> although you would want to give the results a careful check:
>
> http://vim.wikia.com/wiki/Csv
>
> John
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to