![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| Sed Range Issue | Wrathe | Shell Programming and Scripting | 2 | 06-17-2008 04:54 PM |
| specifing range.... | zedex | UNIX for Advanced & Expert Users | 1 | 10-19-2007 10:07 AM |
| Getting 'out of range' when partitioning | pmichner | UNIX for Dummies Questions & Answers | 1 | 09-30-2006 02:51 AM |
| Look a string within a range! | azmathshaikh | Shell Programming and Scripting | 0 | 05-01-2005 04:54 AM |
| Unix SCO 5.0.6 Out of range | josramon | UNIX for Dummies Questions & Answers | 5 | 02-21-2003 02:06 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Sed Range command
Hi,
I am trying to get all the log entries in a log file based on start and end times, I have tried to use the following but couldnt get the desired output: sed -n '/start/,/end/ p' file & newtime=`echo "$time" | cut -d[ -end | cut -d] -start | cut -d" " -start` Kindly help me, Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|