Hi Chris. I guess I could use Ruby as well, since I'm heading down that route. I will check out the pdf to text item you mentioned. I don't do this often. I'd rather hone my skills in text manipulation than rely on third party items. Cheers.
On Sunday, March 2, 2014 10:13:16 PM UTC-5, Christopher Stone wrote: > > On Mar 02, 2014, at 10:07, BeeRich <[email protected] <javascript:>> wrote: > > I have a PDF that has a chart in it. I want to turn it into some real > data as the pdf is pretty much useless to me. Upon copying a page of > cells, I want to parse that into tab delimited text in BBEdit, but the > cells wrap and I have a list of values instead. Here's a chunk: > > ______________________________________________________________________ > > Hey There, > > Use a text-filter. > > #! /usr/bin/env perl > use strict; use warnings; > > while (<>) { > chomp; > print; > if ($. % 8 != 0) { > print "\t"; > } else { > print "\n"; > } > } > > Give it a keyboard shortcut if you use it often. > > There's a little command-line tool called pdftotext that might help you to > automate this further if desired. > > http://www.bluem.net/en/mac/packages/ > > -- > Best Regards, > Chris > > -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
