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

mknos / PerlPowerTools / 7871127992 / 3
75%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 12 Feb 2024 11:38AM UTC
Files 3
Run time 0s
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

12 Feb 2024 11:35AM UTC coverage: 75.05%. Remained the same
7871127992.3

push

github

web-flow
wc: unexpected counts for -w flag

* As noted earlier, word count output in wc did not match GNU version
* A word is one or more non-space characters, surrounded by whitespace (including newline)
* The old code seemed to count the spaces in between words, but I couldn't follow it
* To test this I built the OpenBSD version of wc on my linux system, then compared total word count for a set of files between OpenBSD, GNU and perl

%$wc_obsd -w s*
wc: s: Is a directory
       0 s
     524 seq
     330 shar
     319 shar2
     225 sleep
    4098 sort
    1789 spell
     895 split
wc: sssss: Is a directory
       0 sssss
     444 strings
    1116 sum
    9740 total
%perl wc -w s*
wc: 's' is a directory
       524 seq
       330 shar
       319 shar2
       225 sleep
      4098 sort
      1789 spell
       895 split
wc: 'sssss' is a directory
       444 strings
      1116 sum
      9740 total
%/usr/bin/wc -w s*
/usr/bin/wc: s: Is a directory
      0 s
    524 seq
    330 shar
    319 shar2
    225 sleep
   4098 sort
   1789 spell
    895 split
/usr/bin/wc: sssss: Is a directory
      0 sssss
    444 strings
   1116 sum
   9740 total

373 of 497 relevant lines covered (75.05%)

4531.85 hits per line

Source Files on job 7871127992.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7871127992
  • 6ebedcf4 on github
  • Prev Job for on wc-wflag (#7866534910.1)
  • Next Job for on wc-wflag (#7871127993.1)
  • Delete
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