Search Results

Search: Posts Made By: Doug Lassiter
932
Posted By Doug Lassiter
What operating system are you using? SunOS...
What operating system are you using?

SunOS 5.11

What system provides your mail account(s)?

As far as I can tell it's mailx

Is the spam that has been redirected into your three spam...
932
Posted By Doug Lassiter
Hmm. No help around here, I guess.
Hmm. No help around here, I guess.
932
Posted By Doug Lassiter
Mail/IN.spam? mail/In.spam_true?
I get spam thrown into these two folders, as well as mail/spam.

I think my spamassasin is throwing them at the latter. Who is throwing them at the former? Why are they getting thrown in different...
7,991
Posted By Doug Lassiter
Yes, that is, of course, very true about...
Yes, that is, of course, very true about different kinds of text files. But it is fascinating that a <newline> character, which isn't displayed in even vi, determines whether grep thinks of the file...
7,991
Posted By Doug Lassiter
"The behavior of grep is undefined when the...
"The behavior of grep is undefined when the input files you give it are not text files."

So, um, here's a dumb question -- how is it that a file produced by Mac "TextEdit" is not a "text file"?...
7,991
Posted By Doug Lassiter
P.S. od -bc exclude 0000000 062 060 066...
P.S.

od -bc exclude
0000000 062 060 066 012 063 060 064 012 064 060 063 012 064 060 064 012
2 0 6 \n 3 0 4 \n 4 0 3 \n 4 0 4 \n
0000020 064 060 065 012...
7,991
Posted By Doug Lassiter
My apologies for not using code tags before. ...
My apologies for not using code tags before.

But hey, grep -Fvf exclude log.txt > out worked *perfectly* for anything I put in my "exclude" file. That's the solution. Bingo.

But why? What does...
7,991
Posted By Doug Lassiter
Thanks. Let me be more specific. My log file...
Thanks. Let me be more specific. My log file "log.txt" is pretty big. About 30 MB. My command line is

grep -vf exclude log.txt > out

If my "exclude" file is a text file with

206
304
403...
7,991
Posted By Doug Lassiter
Problems with "grep -vf", and exclusion files
OK, this really has me bolluxed.

I'm using Mac 10.6.8, and I'm trying to do simple analysis of my Apache logs in Unix. Let's call that text file "log".

Now I want to remove from that file all...
Showing results 1 to 9 of 9

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