Search Results

Search: Posts Made By: gini32
4,424
Posted By gini32
Thanks binlib. sort -z has got its worth. ...
Thanks binlib.
sort -z has got its worth.
But

tr -d '\0'
is not working to convert back null characters....but let me figure out myself.....

Thanks again.
4,424
Posted By gini32
Thanks a ton to both Pamu and Don Cragun. That...
Thanks a ton to both Pamu and Don Cragun.
That really helped.
4,424
Posted By gini32
Thanks Pamu.... I haven't tried your...
Thanks Pamu....

I haven't tried your suggestion......
but just for understanding, what it does is -
1. check the pattern 2013 .
2. if the pattern is found, print it as such.
3. If the pattern...
4,424
Posted By gini32
Multi line sorting in Linux
I have log files with following format -

YYYY/MM/DD HH:mm:ss.msec|field2|filed3| log message
Now the message itself can be multi line message containing new line character.
for e.g.
...
3,046
Posted By gini32
way which i usually try is - get your cursor on...
way which i usually try is -
get your cursor on opening brace and then press shift + %
2,190
Posted By gini32
thts cool..... would like to hear from u,...
thts cool.....
would like to hear from u, whether you sticked to making changes at script level, or you tweaked around with excel ...?
2,190
Posted By gini32
this sounds like problem have move from unix...
this sounds like problem have move from unix table to spreadsheet one !!!

if using MS excel, try exploring into data->Text to Column wizard.
might be that can solve your purpose.
Forum: Red Hat 06-09-2010
10,196
Posted By gini32
try this - find ./ -name "*.*" | xargs grep...
try this -

find ./ -name "*.*" | xargs grep <word_to_find>

here *.* represents ur file naming pattern. you can replace it with your requiremnt.
9,149
Posted By gini32
try this....it works.... ls -l | grep -v...
try this....it works....

ls -l | grep -v "cgicsave.env"
7,648
Posted By gini32
Hey correct me, if wrong. But default action of...
Hey correct me, if wrong.
But default action of SIGHUP is abrupt termination of process, unless "handled".
So , if the process, which are logging entries in log file, do not handle SIGHUP, it will...
33,565
Posted By gini32
strange...!!! the usage of sed posted above, is...
strange...!!!
the usage of sed posted above, is well tested one....

---------- Post updated at 07:45 PM ---------- Previous update was at 07:41 PM ----------

try sed with single quotes

sed...
33,565
Posted By gini32
may b u can give following a try - main...
may b u can give following a try -
main changes being setting column seperator as "," and then some post formatting


#!/bin/ksh

touch tmpFile

sqlplus -s usr/passwd@sid << HERE | egrep -v...
5,303
Posted By gini32
tried out without awk
I agree the above solution are indeed "neat" , but as I am not an expert in awk, so just tried it with simple cut way -


inpLine=`grep -h ">>>" sampleFile`

#to extract "Total: 16 Alarms"...
Showing results 1 to 13 of 13

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