![]() is just a space delimited list of commands. ![]() # entable (Or for you regex-perts: /\s*(#|//)?\s*entable/i ) Manual modeĮntable operates in auto mode until it sees a command, which is any line that looks like one of these: Note, commented lines, lines that start with "#" or "//", aren't entabled (except when they look like column headers). In "auto" mode, which is the default, use spaces to arrange the fields in the first first line like you'd like them, then run Entable. To see auto mode in action, try adjusting the spacing to the right and left of the "Star" and "HD*" words on the first line, then re-run entable.īy default, entable lines up the columns based on the spacing of the columns in the first row (see auto mode below). To see it work, copy these lines into a new BBEdit window, then run entable: It will entable the selected text, or the whole document if nothing is selected.Įntable has two modes, auto (which is the default) and manual. Quick start - Auto mode - Manual mode - Saving Settings - At the terminal Quick startĮntable is a "unix filter", so it is run from the #!:Unix Filters menu in BBEdit or TextWrangler. To do this, in BBEdit/TextWranger go to Window:Palettes:Unix Filters, select "entable", then click the "Set Key." button and type the keystroke you want to use. Try binding Entable to a keystroke (such as CTRL-T). See documentation for your tool for where to install filters and how to invoke them. Simply copy Entable to a location in your path or other convenient location. (or /Library/Application Support/TextWrangler/Unix Support/Unix Filters in older releases) Users of other tools that support filters: Installing Entable BBEdit Users:ĭrag Entable to /Library/Application Support/BBEdit/Unix Support/Unix Filters TextWrangler Users:ĭrag Entable to /Library/Application Support/TextWrangler/Text Filters V2.4 (04/21/14) - Added support for single-line tables, see entable -help for more info. Replicating alignment and number patterns entable -help and entable -vectors for more info. V2.3 (09/02/12) - Added support for simple html tables also added more advanced grouping and V2.2 (08/19/12) - Added support for presets, see documentation below or enter entable -adv for more info. V2.1 (08/13/12) - Added -q and -Q options for honoring field quotings V2.01 (08/13/12) - Minor update, tweaked CSV reader to ignore spaces after commas where spaces are desired, field should be quoted (let me know if this causes any problems) file) properly entables comments if comments have the same number of fields as subsequent lines added comma-separated values support (INCSV, OUTCSV) many other stability/robustness improvements "\\" and save/clear (still supports a config. V2.0 (07/27/12) - Major update - added column reordering (-o) and deletion (-x) also handles piped data correctly now supports standard printf formatting strings as alignment tokens removed several rarely-used features, incl. V1.3 (11/26/06) - Minor documentation fix, slightly improved comment handling, and bugfix with documentation display at command line V1.2 (09/29/05) - Documentation fix for "\\" option slight improvements for using "-h" and "-help" within BBEdit/TW windows also now resets to the default settings for each START/END block instead of retaining settings throughout a document across blocks V1.1 (09/27/05) - Minor updates to the help documentation adjusted help so that "-h" gives condensed help, and "-help" gives full help also fixed a bug with decimal alignments DownloadĮntable, v2.4 - New! (4/21/14) Version history Entable is a plug-in/unix-filter that lines up columns of text into tables in text editors such as BBEdit, TextWrangler, Nedit, and Vim and at the command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |