Toggle navigation
Email or Username
Password
Remember
Login
Register
|
I forgot my password
Questions
Unanswered
Tags
Users
Ask a Question
Filtering lines in a text file
0
like
0
dislike
10
views
There's a text file with lines of the form IP:Port
How to filter out, leaving only the lines starting with 10.* 172.*?
ip
the-content
asked
Mar 21, 2019
by
DeadFine
|
10
views
answer
comment
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
7
Answers
0
like
0
dislike
Write on icq: 559343705 will write for you for thank you
answered
Mar 23, 2019
by
Nigrimmist
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
grep "^10." ip.txt?
answered
Mar 23, 2019
by
Nigrimmist
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
If you are using Windows and the file is not very big, export it to Excel and there are already sort and filter.
answered
Mar 23, 2019
by
niko83
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Use regular expressions if you are familiar with them.
If you are interested in a software implementation, it all depends on your programming language.
answered
Mar 23, 2019
by
Nigrimmist
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
grep (or findstr under Windows)
answered
Mar 23, 2019
by
Vas3K
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Suggest to use perl, though, and in any language like C++ it would be a few lines
answered
Mar 23, 2019
by
niko83
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
cat + grep?
answered
Mar 23, 2019
by
Nigrimmist
ask related question
comment
Please
log in
or
register
to add a comment.
Related questions
0
like
0
dislike
2
answers
Cataloguing and filtering on the site?
asked
Mar 24, 2019
by
FError
the-content
0
like
0
dislike
5
answers
Filtering noise in audio files?
asked
Mar 24, 2019
by
Flexo
the-content
sound-processing
0
like
0
dislike
5
answers
Filtering porn
asked
Mar 23, 2019
by
sapper
the-content
0
like
0
dislike
3
answers
Filtering "commentators"
asked
Mar 21, 2019
by
entze
Habr
google-chrome
the-content
0
like
0
dislike
2
answers
How to confirm authorship of your original text on the website into Google?
asked
Jun 3, 2019
by
easycode
google
search-engines
the-content
Most popular tags
javascript
php
css
html
jquery
wordpress
python
linux
web-development
mysql
android
windows
java
layout
c#
computer-networks
node.js
cpp
iron
yii
vue.js
1C-Bitrix
react
laravel
django
nginx
system-administration
search-engine-optimization
api
ubuntu
the-it-education.
ajax
sql
programming
hosting
cms
design
apache
google-chrome
bootstrap
Vkontakte
macos
google
network-administration
git
laptops
algorithms
regular-expressions
unity-game-engine
email
angular
database
network-equipment
software
wooŃommerce
debian
.net
ios
information-security
video
law-in-it
browsers
books
parsing
wi-fi
game-development
career
htaccess
postgresql
telegram
mikrotik
mobile-development
ruby-on-rails
the-domain-name-system
modx
Yandex
c
json
opencart
Habr
freelance
vpn
asp.net
windows-server
symfony
bots
hard-drives
math
qt
DIY
audio
frontend
payment-system
bash
electronics
gulp.js
user-interface
docker
online-shopping
110,608
questions
257,186
answers
0
comments
32,806
users