FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tests: Replace `wc -l` with `grep -c` by casperklein · Pull Request #3752 · docker-mailserver/docker-mailserver · GitHub

tests: Replace wc -l with grep -c - #3752

Merged
casperklein merged 4 commits into
docker-mailserver:masterfrom
casperklein:remove-wc-l
Jan 6, 2024
Merged

tests: Replace wc -l with grep -c#3752
casperklein merged 4 commits into
docker-mailserver:masterfrom
casperklein:remove-wc-l

Conversation

casperklein commented Jan 5, 2024
edited
Loading

Copy link
Copy Markdown
Member

Description

grep
-c, --count
Suppress normal output; instead print a count of matching lines for each input file.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (non-breaking change that does improve existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have added information about changes made in this PR to CHANGELOG.md

casperklein changed the title tests: remove 'wc -l' tests: Replace wc -l with grep -c Jan 5, 2024
casperklein marked this pull request as ready for review January 5, 2024 22:56
casperklein self-assigned this Jan 5, 2024
casperklein added area/tests kind/improvement Improve an existing feature, configuration file or the documentation labels Jan 5, 2024
casperklein added this to the v14.0.0 milestone Jan 5, 2024

polarathene left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Could we use --count? 😅

Either is fine, just makes it a little more obvious (I'm terrible at remembering short flags I don't use often).

Copy link
Copy Markdown
Member Author

I used the short form, to match the existing style of the other (short) arguments.

casperklein merged commit 0eb4ac7 into docker-mailserver:master Jan 6, 2024
casperklein deleted the remove-wc-l branch January 6, 2024 16:07
georglauterbach modified the milestones: v14.0.0, v13.3.0 Jan 15, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tests kind/improvement Improve an existing feature, configuration file or the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL