On 21-May-06, at 1:49 PM, Doug McNutt wrote:

Arbitrary is a pretty strong word in the context of BBEdit. Remember that BBEdit does need to read an entire file into memory, virtual or otherwise, before it can run that script.

OK, I'll take the word back. I used the S&R approach to convert lists of just under 600 Mb in size, columnizing the lists before breaking them into smaller files for import into Excel. That was arbitrary enough for me.

The tab separators don't seem to answer the original poster's question. I think it turned out that he wanted a visually clean display of monospaced fonts for which the "columns" can have different widths. If the lines which are destined to become the first column are long and the others are short the tab characters are pretty much useless in BBEdit. Think of a listing of stock prices for which external reasons require that the spelled-out company names come first. DXF files are another example where the start of a new row - or command if you think that way - are identified by the lack of a leading space in a line of a /r/n terminated file.

Well without the specifics of the OP's application it's impossible to judge, but the OP's question was

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.

which the search and replace strings accomplish. I believe he also wanted to do it within BBEdit. However, in a later post it appeared he also wanted to columnize by column rather than by row, and a script is more appropriate in the absence of the plug-in he was looking for.

Some call it laziness: I call it 'conservation of energy'

Peter Tattersall
http://www.zerobyzero.ca/Weathertop/
http://www.zerobyzero.ca/Starstruck/
L'Osservatore Ponte di Legno
43 49 N 79 34 W


--
------------------------------------------------------------------
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