Good morning,

On 30/12/13 at 5:51 AM -0800, Melissa <[email protected]> wrote:

Does anyone know of a quick way to nicely format data into columns?

I don't believe there is a native method any longer (used to a be a plugin for it ages ago). But `column` command could be used in a filter.

Create a new file with the following contents:

#!/bin/sh
column -t

Save the file in BBEdit's 'Text Filters' folder and then run the filter on your file.

Eg. using your sample data, it outputs:

Fruit       Colour  Amount
Apple       Green   2
Apple       Red     31
Grapefruit  Pink    1


Or if you really want the entable script; I found it here (my copy is 7 years old, so grab the latest):

<http://entable.s3.amazonaws.com/index.html>


Charlie

--
   Ꮚ Charlie Garrison ♊ <[email protected]>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt

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

Reply via email to