• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

preaction / Term-FormatColumns / 14
85%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2015 02:38AM UTC
Jobs 1
Files 2
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
14

push

travis-ci

preaction
add fmtcol utility to format columns in the shell

There are a couple utilities for formatting output from other commands,
but none of them does columns like ls(1) does:

* fold(1) - Does not wrap at word boundaries that I can see
* fmt(1) - Does wrap at word boundaries, but defaults to -w80

Neither of these will make multiple columns out of a single column though. In
order to get "tar t" to list files in multiple columns, you need to:

    tar tzf ba_files/ba_files_2013.tar.gz | tr '\n' ' ' | fmt

Which arranges the list from left-right, not from top-bottom as ls(1) does.

Fixes #2

55 of 65 relevant lines covered (84.62%)

7.17 hits per line

Jobs
ID Job ID Ran Files Coverage
9 14.9 (COVERAGE=1) 09 Feb 2015 02:38AM UTC 0
84.62
Travis Job 14.9
Source Files on build 14
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #14
  • b7a60feb on github
  • Prev Build on master (#13)
  • Next Build on master (#15)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc