Bug 230955 - [patch] Some speedup mergemaster
Summary: [patch] Some speedup mergemaster
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords: easy, install, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2018-08-27 17:15 UTC by Dmitry Wagin
Modified: 2018-08-27 17:19 UTC (History)
0 users

See Also:


Attachments
patch-mergemaster.sh (607 bytes, application/x-shellscript)
2018-08-27 17:15 UTC, Dmitry Wagin
no flags Details
patch-mergemaster (607 bytes, patch)
2018-08-27 17:19 UTC, Dmitry Wagin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Wagin 2018-08-27 17:15:56 UTC
Created attachment 196605 [details]
patch-mergemaster.sh

adding the '-m1' flag to grep will small speedup mergemaster.


> man grep

-m num, --max-count=num
    Stop reading the file after num matches.
Comment 1 Dmitry Wagin 2018-08-27 17:19:04 UTC
Created attachment 196606 [details]
patch-mergemaster