The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Display Carmen123 Linux 1 12-04-2006 11:35 AM
X Display BG_JrAdmin SUN Solaris 2 10-01-2005 06:38 AM
ls display shruti_mgp UNIX for Dummies Questions & Answers 3 08-15-2005 11:19 PM
display LiTo UNIX for Dummies Questions & Answers 4 11-04-2004 06:08 PM
DISPLAY from another LAN b5fnpct UNIX for Advanced & Expert Users 2 12-31-2002 05:01 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-11-2007
unitipon unitipon is offline
Registered User
  
 

Join Date: May 2007
Posts: 44
I need to display it how to do

I have infomation like this

06/10/07 06:45:33
AMQ9002: Channel 'CLUS.TO.IMVP1WASQM' is starting.


06/10/07 09:06:13
AMQ9002: Channel 'CLUS.TO.IMVP1EAIQM' is starting.

EXPLANATION:
Channel 'CLUS.TO.IMVP1EAIQM' is starting.
ACTION:
None.
--------------------------------------------------------------------------
06/11/07 12:46:17
AMQ9545: Disconnect interval expired.

EXPLANATION:
Channel 'CLUS.TO.IMVP1EAIQM' closed because no messages arrived on the
transmission queue within the disconnect interval period.
ACTION:
None.
--------------------------------------------------------------------------
06/11/07 12:46:17
AMQ9001: Channel 'CLUS.TO.IMVP1EAIQM' ended normally.

EXPLANATION:
Channel 'CLUS.TO.IMVP1EAIQM' ended normally.
ACTION:
None.



I need to display infomation by base on date(today) so how to display it
  #2 (permalink)  
Old 06-11-2007
anbu23 anbu23 is offline Forum Advisor  
Registered User
  
 

Join Date: Mar 2006
Location: Bangalore,India
Posts: 1,398
Code:
dt=$( date +%m"\/"%d"\/"%y )
sed -n "/$dt/,/--*/ p" filename
  #3 (permalink)  
Old 06-11-2007
unitipon unitipon is offline
Registered User
  
 

Join Date: May 2007
Posts: 44
Thank u anbu23
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0