Doug McNutt wrote:
> I wrote:
>> Hi. Didn't there used to be a "columnize" command in BBEdit. I've been
>> frantically searching for it in version 7, and can't locate it, or anything
>> that would do the same functionality, ie: take a huge list of lines and
>> turn them into tab seperated columns.

>I can probably help with that perl script but your description is not clear.

Hi, Doug. Thanks for your offer, but I'm a scripter myself. I was just hoping
that I wouldn't have to reinvent the wheel here.

>"list of lines" ?  Surely you don't mean to use the LISP definition of that.

Whoops, was I speaking with a LISP? ;-)

> Replacing returns with tabs is simple. Figuring out where each tab-separated
> line ends requires more input.

Yeah, I actually need something like this:

  apple
  banana
  pear
  peach

Turned into something like this:

  apple       pear
  banana    peach

only with several hundreds of lines, and with 4 or more columns.

> Near and dear to my heart is how you will display the result in BBEdit. If the
> first column contains long titles and the others contain numbers you'll be
> frustrated by a lack of adjustable typewriter-like tab stops. Inserting extra
> tabs assuming a monospaced font will make your data a mess in the likes
> of a spreadsheet.

Yeah, I'm trying to remember how the BBEdit command handled this.
In any case, I'm just going to go with spaces, as the visuals are more
important to me at the moment, and it's easy enough to replace runs
of spaces with tabs.

I just can't understand why that command was removed?! It wasn't
third-part, I'm sure it was a BBEdit built-in menu command, and
it was awfully damn useful! I'm not ever upgrading again, I'm getting
sick and tired of BareBones breaking important bits of functionality.

Thanks, Doug.

-- 
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to