Search Results

Search: Posts Made By: tektips
17,481
Posted By tektips
Thanks again vgersh99.. I was able to get this ...
Thanks again vgersh99.. I was able to get this working. But encountered in an awk error on some files

awk: Input line 06/15/2009 05:08:18. cannot be longer than 3,000 bytes.

Alternately,...
17,481
Posted By tektips
Thanks vgersh99..it certainly helps.. don't...
Thanks vgersh99..it certainly helps.. don't have nawk in our server tried with awk and it works.. Have a few addl qs as I am not very familiar with awk..

I want to assign this...
17,481
Posted By tektips
Search and Count Occurrences of Pattern in a File
I need to search and count the occurrences of a pattern in a file. The catch here is it's a pattern and not a word ( not necessarily delimited by spaces). For eg. if ABCD is the pattern I need to...
17,727
Posted By tektips
Thanks vgersh99 for all your help. ...
Thanks vgersh99 for all your help.

Tried this out and For me, catch with this is it does not yield be the table name ( string after the period).

When I run the script on my test file, my...
17,727
Posted By tektips
How do I get a regexp to match all these...
How do I get a regexp to match all these strings containing 'ABCD.' Basically I know the pattern I need to match ( in this case 'ABCD.'). I am new to this and little confused by how to enforce...
17,727
Posted By tektips
Thanks.. that helped. I was running from the same...
Thanks.. that helped. I was running from the same directory where the script was and didn't realize the need for '.'
17,727
Posted By tektips
I do.. Actually the file has 777 permissions....
I do.. Actually the file has 777 permissions. Is by any chance awk vs nawk making the difference ?
9,007
Posted By tektips
Thanks for that pointer. That was helpful and is...
Thanks for that pointer. That was helpful and is very similar to what I want to accomplish. I asked another q in that thread.
17,727
Posted By tektips
I am trying to accomplish something similar. Will...
I am trying to accomplish something similar. Will this work with awk too. We do not have nawk on our server.

When I run it from $ prompt, it seems to work with the 'foo' example. But when I ...
9,007
Posted By tektips
Thanks for your inputs. But I think my intent...
Thanks for your inputs. But I think my intent was wrongly conveyed by the example I gave. The pattern I am searching for can be anywhere in the log file.

Following might be a better ...
9,007
Posted By tektips
Finding Unique strings which match pattern
I need to grep for a pattern in a file. Files are huge and have several repeated occurances of the strings which match pattern. I just need the strings which contain the pattern in the output.

...
Showing results 1 to 11 of 11

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