LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-09-2014, 08:14 AM   #31
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918

i have yet to see an attempt from op that we can correct their code.
 
Old 01-09-2014, 11:21 AM   #32
perumal07
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Exclamation

Quote:
Originally Posted by druuna View Post
Again with the lack of information and input that is very inconsistent.....

You say you want these fields: What needs to be done with an entry like this (multiple block entries):Which is very different than this entry (multiple entries):Both seem like very sloppy copy/paste actions.

Why is this present an what needs to be done with it:And what about empty/missing entries:

Last time I will tell you this: PROVIDE ACCURATE INFORMATION OR WE CAN NOT HELP YOU.
Let me update you one more file which is latest which i got i havent work with excel before pls help me out.
 
Old 01-09-2014, 11:29 AM   #33
perumal07
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Email ID: ithelpdesk@gmail.com
ithelpdesk@gmail.com
Host1 Nb messages: 6027 messages
Host1 Total size: 849995990 bytes (810.619 MiB)
Host2 Nb messages: 6105 messages
Host2 Total size: 860308551 bytes (820.454 MiB)
Host1 Nb messages: 6028 messages
Host1 Total size: 850022828 bytes (810.645 MiB)
Host2 Nb messages: 6021 messages
Host2 Total size: 851026822 bytes (811.602 MiB)
Transfer started on : Thu Jan 9 10:59:00 2014
Transfer ended on : Thu Jan 9 11:10:22 2014
Transfer time : 682.0 sec
Messages transferred : 10
Messages skipped : 6017
Messages found duplicate on host1 : 6
Messages found duplicate on host2 : 0
Messages void (noheader) on host1 : 0
Messages void (noheader) on host2 : 0
Messages deleted on host1 : 0
Messages deleted on host2 : 94
Host1 Nb messages: 6028 messages
Host1 Total size: 850022828 bytes (810.645 MiB)
Host2 Nb messages: 6021 messages
Host2 Total size: 851026822 bytes (811.602 MiB)
Host1 Nb messages: 6028 messages
Host1 Total size: 850022828 bytes (810.645 MiB)
Host2 Nb messages: 6022 messages
Host2 Total size: 851053660 bytes (811.628 MiB)
Transfer started on : Thu Jan 9 11:20:58 2014
Transfer ended on : Thu Jan 9 11:22:40 2014
Transfer time : 101.2 sec
Messages transferred : 1
Messages skipped : 6027
Messages found duplicate on host1 : 6
Messages found duplicate on host2 : 0
Messages void (noheader) on host1 : 0
Messages void (noheader) on host2 : 0
Messages deleted on host1 : 0
Messages deleted on host2 : 0
Email ID: ithelptest@gmail.com
Host1 Nb messages: 3370 messages
Host1 Total size: 496407958 bytes (473.412 MiB)
Host2 Nb messages: 3367 messages
Host2 Total size: 496952414 bytes (473.931 MiB)
Host1 Nb messages: 3370 messages
Host1 Total size: 496407958 bytes (473.412 MiB)
Host2 Nb messages: 3367 messages
Host2 Total size: 496952414 bytes (473.931 MiB)
Transfer started on : Thu Jan 9 11:19:30 2014
Transfer ended on : Thu Jan 9 11:20:58 2014
Transfer time : 88.2 sec
Messages transferred : 0
Messages skipped : 3370
Messages found duplicate on host1 : 3
Messages found duplicate on host2 : 0
Messages void (noheader) on host1 : 0
Messages void (noheader) on host2 : 0
Messages deleted on host1 : 0
Messages deleted on host2 : 0

if the data has double entrys it should take both entries and place in excel, if the email is empty in excel that field should be empty.
 
Old 01-09-2014, 11:31 AM   #34
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by perumal07 View Post
Let me update you one more file which is latest which i got i havent work with excel before pls help me out.
Again, you need to spell out your words, please. And again, can you show us WHAT YOU HAVE ACTUALLY DONE/WRITTEN SO FAR???

Asking others to debug/write your scripts for you is not only lazy, but rude. You've been given MANY samples and examples thus far...how have you applied them?? What have YOU done?
 
1 members found this post helpful.
Old 01-09-2014, 11:39 AM   #35
perumal07
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Exclamation

Quote:
Originally Posted by TB0ne View Post
Again, you need to spell out your words, please. And again, can you show us WHAT YOU HAVE ACTUALLY DONE/WRITTEN SO FAR???

Asking others to debug/write your scripts for you is not only lazy, but rude. You've been given MANY samples and examples thus far...how have you applied them?? What have YOU done?
i have tried few grep commands and try to use your privies script which shared by you but it didnt help. And i never worked in excel looping command thats y i asking for to help one if i got idea then i can make it.
 
Old 01-09-2014, 11:47 AM   #36
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by perumal07 View Post
i have tried few grep commands and try to use your privies script which shared by you but it didnt help. And i never worked in excel looping command thats y i asking for to help one if i got idea then i can make it.
Again, SPELL OUT YOUR WORDS...it's "why", not 'y". And AGAIN...POST WHAT YOU HAVE TRIED. You SAY you've 'tried few grep commands', but don't tell us which ones. You don't tell us how you tried to modify them to fit your needs, or what the results were. These commands are Linux commands, and have ZERO to do with 'excel looping'.
 
Old 01-09-2014, 12:13 PM   #37
perumal07
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Again, SPELL OUT YOUR WORDS...it's "why", not 'y". And AGAIN...POST WHAT YOU HAVE TRIED. You SAY you've 'tried few grep commands', but don't tell us which ones. You don't tell us how you tried to modify them to fit your needs, or what the results were. These commands are Linux commands, and have ZERO to do with 'excel looping'.
Header fields need to search in file

Email ID, Host1 Nb messages,Host1 Total size,Host2 Nb messages,Host2 Total size,Transfer time,Messages transferred,Messages skipped,Messages found duplicate on host1,Messages found duplicate on host2,Messages void (noheader) on host1,Messages void (noheader) on host2,Messages deleted on host1,Messages deleted on host2.

output should look like this when it is exported to excel i well get the report in colums

ithelpdesk@gmail.com,6027 messages, 849995990 bytes, 6105 messages, 860308551 bytes, 682.0 sec,10 ,6017,6,0,0,0,0,94
, 6028 messages, 850022828 bytes, 6021 messages,851026822 bytes,,,,,,,,,,,
 
Old 01-09-2014, 12:25 PM   #38
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by perumal07 View Post
Header fields need to search in file

Email ID, Host1 Nb messages,Host1 Total size,Host2 Nb messages,Host2 Total size,Transfer time,Messages transferred,Messages skipped,Messages found duplicate on host1,Messages found duplicate on host2,Messages void (noheader) on host1,Messages void (noheader) on host2,Messages deleted on host1,Messages deleted on host2.

output should look like this when it is exported to excel i well get the report in colums

ithelpdesk@gmail.com,6027 messages, 849995990 bytes, 6105 messages, 860308551 bytes, 682.0 sec,10 ,6017,6,0,0,0,0,94
, 6028 messages, 850022828 bytes, 6021 messages,851026822 bytes,,,,,,,,,,,
Great, fine....so now, AGAIN....POST WHAT YOU HAVE TRIED TO DO ON YOUR OWN TO ACTUALLY ACCOMPLISH THIS.

Telling others over and over what you want is pointless...we will HELP you, but WE ARE NOT GOING TO WRITE THINGS FOR YOU. Show some effort of your own, and you'll get LOTS of help. Otherwise, take your problem over to the LQ Job Marketplace, and tell people how much you are willing to PAY to have someone do your work for you. They will gladly do it.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need details about export command and how to use it linuxpandi Linux - Newbie 3 01-25-2012 02:10 AM
How to export reports generated in Linux to excel sheets. sumitdevbharadwaj Programming 4 12-29-2008 11:18 PM
export data to excel or oenoffice.org using Qt pragnya Linux - General 1 01-20-2006 04:55 AM
Export MySQL table into MS Excel spreadsheet dr_sad Programming 1 07-06-2005 12:56 PM
very urgent!details about execve()??????? vrdhananjay Programming 11 02-08-2005 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration