I need some help in extracting some of these information and massage it into the desired output as shown below.
I need to extract the last row with the header in below sample which is usually the most recent date, for example:
2012-06-01 142356 mb 519 -219406 mb 1 -77049 mb
Notice in the sampe output below, there a new column called: "Label" being added.
FYI, this is just a sample data, the actual data will might contains more data and the listing will be longer.
The spacing and alignment of this output should be aligned with the first output which includes the header and dash so that it's easier to append its output to the next line.
Could you advise on how to include this word in the second awk?
How are you sending it out? You can send it as a text attachment. In any case the text needs to be displayed with a fixed width font. It could be that either the mail program with with you send, or the one with which you read the email introduces a propotional font for display, which would mess up the the way the text is displayed...
I'm using this method (/usr/sbin/sendEmail) to send out the output.
Any advise?
Thanks.
Jack
---------- Post updated at 08:00 AM ---------- Previous update was at 07:58 AM ----------
Hi Scrutinizer,
Got it. Managed to get the output after comparing #5 to #2 .
Thanks.
Jack
---------- Post updated at 10:04 PM ---------- Previous update was at 08:00 AM ----------
Hi All
Would like to seek your help if it's possible to compile the following output with this alignment? Hopefully it will have a better format when it's sending out via email.