Search Results

Search: Posts Made By: irfanmemon
3,022
Posted By irfanmemon
Thanks working fine
Thanks working fine
3,022
Posted By irfanmemon
Done...its working fine with below command: ...
Done...its working fine with below command:

cat gsc_20121121.log | grep ProcessNewOrderSingleTxnDelegate | sed -n -e "s/.*\([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]...
3,022
Posted By irfanmemon
When I am running awk...
When I am running
awk '{sub(",",":",$2);for(i=1;i<=NF;i++){if($i~/OrderId/){o=$(i+1);break;}}print $1" "$2","o","$NF;}' gsc_1_20121121.log

Its giving me output as below:
2012-11-21...
3,022
Posted By irfanmemon
The log file(gsc_1_20121121.log) looks like below...
The log file(gsc_1_20121121.log) looks like below

2012-11-21 08:41:07,367 INFO [com.clsa.fms.orders.bs.impl.delegates.local.impl.ProcessNewOrderSingleTxnDelegate] - fmsspace.1 [1] [LRMI...
3,022
Posted By irfanmemon
Thanks but can you help me with the similar way I...
Thanks but can you help me with the similar way I have done for 1st one..Thanks
3,022
Posted By irfanmemon
Grep & sed - Output
Hi All,

Facing an issue with grep & sed

I have logs as below:

gsc_1_20121121.log:2012-11-21 10:09:13,143 INFO [com.clsa.fms.orders.workers.destinationresponseworker.NewOrderSingleTask] -...
2,017
Posted By irfanmemon
Error
Thanks Subramanian

But I am still getting an error:
awk: \!c[$3]++
awk: ^ backslash not last character on line

---------- Post updated at 11:41 PM ---------- Previous update was at 11:28 PM...
2,017
Posted By irfanmemon
Thanks for detailed explanation But when I...
Thanks for detailed explanation

But when I am using below line/command its giving me error;

ssh ${fmsServerUserName}@${fmsServerName} "awk -F, '!c[$3]++' 10_FMS_CRXtoFMS.csv" >>...
2,017
Posted By irfanmemon
Thanks so much...it works. Can you please help...
Thanks so much...it works.
Can you please help to explain as i m new bie in unix
2,017
Posted By irfanmemon
Uniq code in sorted order
Hi All,
A small question:

I have a file check.txt which looks like below:

KRPROD2,2012-11-20 08:46:50:408,ODK3325688102
KRPROD2,2012-11-20 08:47:35:289,ODK3325688102
KRPROD2,2012-11-20...
Showing results 1 to 10 of 10

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