The UNIX and Linux Forums  

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
Interval arithmetic for Ada 1.6 (Default branch) iBot Software Releases - RSS News 0 07-08-2008 07:20 AM
To extract data of a perticular interval (date-time wise) abhishek27 Shell Programming and Scripting 3 07-03-2008 03:32 AM
Crontab job on sunday with two week interval tan.pham AIX 4 03-20-2008 03:50 AM
Shell Script Run Interval to be dynamic rahulrathod Shell Programming and Scripting 5 12-19-2005 06:18 PM
Time Wait interval eloquent99 SUN Solaris 1 12-05-2003 09:56 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-19-2009
giofai giofai is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 1
Need Help for interval date

Hello,
I need help about a shell script
I have a text file with this fields:

2009/01/19 09:33:35: --> ---ORA-28817: PL/SQL function returned an error.
2009/01/19 09:33:35: --> ---ORA-28817: PL/SQL function returned an error.
2009/01/19 09:33:35: --> ---ORA-28817: PL/SQL function returned an error.
2009/01/19 09:33:35: --> ---ORA-28817: PL/SQL function returned an error.
2009/01/19 09:33:40: --> ---ORA-28817: PL/SQL function returned an error.
2009/01/19 09:33:48: --> ---ORA-28817: PL/SQL function returned an error.
2009/01/19 09:33:58: --> ---ORA-28817: PL/SQL function returned an error.

I know the second field.

Ec. Giving the interval:
09:33:40 and
09:33:58
how I take only the rows between this interval ?


I'm trying with sed and grep but nothing....

Thanks for the help
 

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 06:33 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