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

briandfoy / PerlPowerTools / 11550353840
62%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2024 08:49AM UTC
Jobs 1
Files 3
Run time 1min
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

28 Oct 2024 08:45AM UTC coverage: 73.069%. Remained the same
11550353840

push

github

web-flow
ed: start breaking up edParse() (#771)

* Unhook commands E, e, f, H, h, P, Q and q from the large regex in edParse(); the idea is to remove the large regex entirely
* Commands E, e and f allow zero or one argument; the other commands require no argument
* None of these commands allows an address prefix, e.g. 1,2P is invalid
* When testing against GNU ed I discovered "f FILENAME" should still print the filename when setting it
* Later the remaining commands can be removed from the large regex if calculateLine() function strips address prefix from $_ at start of edParse()

%perl ed # start with empty buffer and no saved filename
P     ---> toggle * prompt
*e a.c   ---> start editing file a.c
197
*H   --->  toggle auto-help
*123d
?
invalid address  ---> error message displays by itself
*H  ---> disable auto-help
*,d   ---> delete all lines
*h  ---> display previous error saved from 123d command
invalid address
*E   ---> reload a.c because I don't want to delete all lines
197
*f  ---> show saved filename
a.c
*f a.c.copy ---> set new filename to write to
a.c.copy
*1,2d ---> delete first two lines
*w ---> write changes to a.c.copy
158
*q

350 of 479 relevant lines covered (73.07%)

4736.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11550353840.1 28 Oct 2024 08:49AM UTC 0
73.07
GitHub Action Run
Source Files on build 11550353840
Detailed source file information is not available for this build.
  • Back to Repo
  • 4c336925 on github
  • Prev Build on master (#11512237475)
  • Next Build on master (#11557304730)
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