Search Results

Search: Posts Made By: Shirisha
5,474
Posted By Shirisha
nope..i am on linux..it doesnot show any...
nope..i am on linux..it doesnot show any output...tried to redirecting to other file as well..
5,474
Posted By Shirisha
yeah its correct but the above solution is not...
yeah its correct but the above solution is not working...

---------- Post updated at 05:11 AM ---------- Previous update was at 04:59 AM ----------



hi..
I am getting 0 for every line....i...
5,474
Posted By Shirisha
How to count number of occurances of string in a file?
Gurus,

Need little guidance.
I have A.txt and B.txt file. B.txt file contains Unique strings.
Sample content of B.txt file for which i cut the fourth column uniquely and output directed to B.txt...
6,137
Posted By Shirisha
Output I am getting is correct... I have just...
Output I am getting is correct...
I have just provided the output format...
where
Filename.log,Error String,1
Filename.log,Message3,2

Here problem is below code
awk -F':|]
6,137
Posted By Shirisha
,filename,ErrorMessage:ErrorMessage:ErrorMessage,C...
,filename,ErrorMessage:ErrorMessage:ErrorMessage,Count
,filename,InfoMessage,Count
6,137
Posted By Shirisha
Here is the command which i formed working...
Here is the command which i formed working properly. But the problem occurs when My Messages is having colon in it. Only part of message gets displayed (the part after : that only Message3 displayed)...
6,137
Posted By Shirisha
How to remove delimiter from specific column?
I have 5 column in sample txt file
where in i have to create report based upon 1,3 and 5 th column..
I have : in first and third coulmn. But I want to retain the colon of fifth coulmn and remove...
8,431
Posted By Shirisha
i figured it out the solution ... Thanks for...
i figured it out the solution ...
Thanks for your help.
8,431
Posted By Shirisha
I am getting the below output: exp,201*. ...
I am getting the below output:

exp,201*.
exp,201*
exp,201*.
exp,or *.
exp,201*.
exp,201*
exp,201*.
exp,201*

that is first 3 character of path and then last 3 character of $1 appended by...
8,431
Posted By Shirisha
Thanks Chubler_XL.. my path is not fixed. my...
Thanks Chubler_XL..
my path is not fixed. my script takes path as input parameter...
and that path contains the common characters like
any path/ABC*/rst*.log
any path/EDC*/rst*.log
any...
8,431
Posted By Shirisha
How to parse filename and one level up directory name?
Hello Experts,

I need little help with parsing.
I want to parse filename and one level up directory name.
sample $1 will consists of
/home/username/ABC1/rstfiles4.log...
4,015
Posted By Shirisha
How to extract strings from full path when full path is not fixed
/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR [UNKNOWN] Error Message.
/Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR [UNKNOWN] Error Message....
1,629
Posted By Shirisha
How to extract strings from full path when full path is not fixed
/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR [UNKNOWN] Error Message.
/Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR [UNKNOWN] Error Message....
2,852
Posted By Shirisha
Thanks All for reply...
Thanks All for reply...
2,852
Posted By Shirisha
How to get filename from the fullpath and how to grep multiple strings
Hi,

New to shell scripting....
I have log file content as below:



I have to count the number of occurences of ERROR or INFO Messages.
So, I cut 5 th column and uniquly sorted and...
Showing results 1 to 15 of 15

 

Featured Tech Videos

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