Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool to grep for ips that overlap #185

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6ad098e
init
talhahwahla Nov 7, 2023
1798dd0
Merge branch 'master' into talhahameed/be-2457-cli-tool-to-grep-for-i…
talhahwahla Nov 8, 2023
a69c666
improvements
talhahwahla Nov 13, 2023
689c69d
Merge branch 'master' into talhahameed/be-2457-cli-tool-to-grep-for-i…
talhahwahla Nov 15, 2023
64c9135
update matchip help
talhahwahla Nov 15, 2023
4d1e8c9
use --expresssion flag only
talhahwahla Nov 15, 2023
633a31c
rm `parseInput` from `findOverlapping`
talhahwahla Nov 15, 2023
e706ece
rm usage of `FilterFile` and `CriteriaFile` flags
talhahwahla Nov 15, 2023
53c0486
rm `scanrdr`, use `ProcessStringsFromStdin`, `ProcessStringsFromFile`
talhahwahla Nov 15, 2023
ea0aa85
separate `source_op` and `filter_op`
talhahwahla Nov 15, 2023
b8e2243
parse ip
talhahwahla Nov 15, 2023
add06f6
add `rangeToCidrs()`
talhahwahla Nov 15, 2023
4e3a3d6
parse cidr, use SubnetPair
talhahwahla Nov 15, 2023
4c9643c
fix filter_op, source_op
talhahwahla Nov 15, 2023
7413b78
export InputHelper for external use
talhahwahla Nov 15, 2023
c14f828
accept inline input
talhahwahla Nov 15, 2023
60157bf
fix code repetition
talhahwahla Nov 15, 2023
37cea24
refactor
talhahwahla Nov 15, 2023
fd344b9
print help when no arg provided
talhahwahla Nov 15, 2023
0d9102b
handle matchip completions
talhahwahla Nov 15, 2023
511d6dd
fix matchip help
talhahwahla Nov 15, 2023
2ef983c
make `matchip` available as a separate tool
talhahwahla Nov 15, 2023
a0bd1a6
make `matchip` available as a separate tool
talhahwahla Nov 15, 2023
43673fc
update help
talhahwahla Nov 15, 2023
132edf1
update README.md
talhahwahla Nov 15, 2023
9404e69
update .gitignore
talhahwahla Nov 15, 2023
2a4f616
update default help
talhahwahla Nov 15, 2023
3e8fb39
update scripts
talhahwahla Nov 15, 2023
a7b9e96
fix vsn
talhahwahla Nov 15, 2023
67f4b69
fix spacing
talhahwahla Nov 16, 2023
9744342
Merge branch 'master' into talhahameed/be-2457-cli-tool-to-grep-for-i…
talhahwahla Nov 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix vsn
  • Loading branch information
talhahwahla committed Nov 15, 2023
commit a7b9e96d0f4aaf9e92a86c3d44d62f21fa8ae907
2 changes: 1 addition & 1 deletion matchip/deb.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

VSN=1.2.2
VSN=1.0.0

curl -LO https://github.com/ipinfo/cli/releases/download/matchip-${VSN}/matchip${VSN}.deb
sudo dpkg -i matchip_${VSN}.deb
Expand Down
2 changes: 1 addition & 1 deletion matchip/macos.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

VSN=1.2.2
VSN=1.0.0
PLAT=darwin_amd64

curl -LO https://github.com/ipinfo/cli/releases/download/matchip-${VSN}/matchip_${VSN}_${PLAT}.tar.gz
Expand Down