On 2006-11-27, Lynn Allan <[EMAIL PROTECTED]> wrote: ><alert comment="palm and par newbie" /> > > I've got a series of text files that I want to convert to .pdb's. > They range from a: > * 31 line file of about 4.2kb > * 1533 line file of about 190kb > * 31,000+ line file of about 4 mb > > I tried par, but ended up with 1 record. This is the command line I used > with WinXp-SP2: > par c Test31Lines.pdb Test31Lines DATA LaBb Test31Lines.txt > > par h Test31Lines.pdb > indicates 1 record. > > Can this be done with par? If so, what are the appropriate arguments for > the command line? Am I leaving something out, or missing a step? > > BTW: I also used the 30-day trial of PdbConverterPro 1.0.3. It seemed to > work with the smaller files, but hung at 100% cpu with the larger files.
Par indeed does 'one record per input file' when creating a pdb. So you would have to split it in a gazillion files. Probably better to have a look at txt2pdbdoc (http://homepage.mac.com/pauljlucas/software/txt2pdbdoc). If you use the uncompressed doc format, then you get one record per line (except for record 0, which is the internal doc format header). Moreover the resulting pdb can be read directly by all the readers which understand Palms doc format. HTH Ton van Overbeek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
