Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
8
Newest
 Critic
Impact
~609 people reached

Aug
13
revised grep command to extract certain word only
Readability and correction based on comment
Aug
13
comment grep command to extract certain word only
Are all of the IP addresses followed by a space? Also, read this page, especially example #3.
Aug
13
suggested approved edit on grep command to extract certain word only
Aug
5
comment grep string where next line does not contain string
Check out this answer for one grep picking up where another one left off. You can use -m to maintain a "cursor" from the first grep, then execute the second grep. Putting this in a loop could achieve the functionality you want.
Jul
29
comment How to print the name of missing files in a folder?
You don't really need the minutes in the list. The second brace expansion could just be .{00,06,12,18}00..
Jul
29
comment How to print the name of missing files in a folder?
The concept is the one I converged on as well, but please note that very few Julian months have 30 days.
Jul
10
comment How do you know you are on the last line when looping through a file?
You could wc -l initially to get the length of the file and use that as the last row number.
Jul
2
comment Truncate the third column until given strings
I think you meant ...sub(/.*PT~/,....
Jun
29
awarded  Critic
Mar
15
awarded  Scholar
Mar
15
accepted Why is grep searching more than the files I want with asterisk?
Mar
14
awarded  Teacher
Mar
13
comment Why is grep searching more than the files I want with asterisk?
It's only 34 minutes old. Let's be reasonable here.
Mar
13
answered Why is grep searching more than the files I want with asterisk?
Mar
13
awarded  Commentator
Mar
13
comment Why is grep searching more than the files I want with asterisk?
There's the bug. I was fooled because it looked like it was recognizing the server names, but it was just grabbing them all as you say. Some "s should fix this!
Mar
13
revised Why is grep searching more than the files I want with asterisk?
Included more information, previously obscured.
Mar
13
comment Why is grep searching more than the files I want with asterisk?
I've just confirmed that there is no space.
Mar
13
asked Why is grep searching more than the files I want with asterisk?
Mar
4
answered How to grep over a variable