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

preaction / Term-FormatColumns / 14 / 9
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2015 02:38AM UTC
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

09 Feb 2015 02:31AM UTC coverage: 84.615% (+2.1%) from 82.5%
COVERAGE=1

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

Source Files on job 14.9 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14
  • Travis Job 14.9
  • b7a60feb on github
  • Prev Job for COVERAGE=1 on master (#13.9)
  • Next Job for COVERAGE=1 on master (#15.9)
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