Search Results

Search: Posts Made By: MrAd
12,738
Posted By MrAd
ah I'll give that a try, thanks :D
ah I'll give that a try, thanks :D
12,738
Posted By MrAd
basically I have narrowed the file down into a...
basically I have narrowed the file down into a list of IP address. then I search through each of the hit files using awk and grep

a .hit file contains an entry per line:

192.168.2.1 Tue nov...
12,738
Posted By MrAd
grep running total/ final total across multiple files
Ok, another fun hiccup in my UNIX learning curve. I am trying to count the number of occurrences of an IP address across multiple files named example.hits. I can extract the number of occurrences...
22,861
Posted By MrAd
Redirect to variable
how do you redirect stdout into a variable. whenever I try I get an ambiguous redirect error :( I am trying to validate some user input and failing miserably.

cal $MONTH $YEAR | grep -c "$DAY"
...
2,402
Posted By MrAd
Ah thanks very much, I was just playing with...
Ah thanks very much, I was just playing with doing it the long way with awk but that is a lot easier. Why is it that I have to use double quotes when using reg exps as opposed to single? They dont...
2,402
Posted By MrAd
Regular Expressions - Total beginner
Hi all, am a total beginner and need a hand getting a regular expression to work.

Basically I have a file of hits in the format:

136.120.16.32 Tue Nov 22 12:55:33 GMT 2005

and I need a...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 07:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy