![]() |
|
|
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 |
| Regarding volumes entries! | painulyarun | UNIX for Advanced & Expert Users | 0 | 05-04-2007 05:14 PM |
| /etc/system entries | BG_JrAdmin | SUN Solaris | 1 | 04-23-2006 11:09 PM |
| Get rid of repeated entries. | jijibabawu | Shell Programming and Scripting | 2 | 10-03-2005 11:17 PM |
| Count log Entries | odogbolu98 | Shell Programming and Scripting | 5 | 04-08-2003 02:34 PM |
| Entries in /var/log/messgaes | skotapal | UNIX for Dummies Questions & Answers | 1 | 10-31-2002 04:47 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
hi all i have a file in which first column has date in (yyyy-mm-dd) format and rest of the column has file information. i want to write a program in such way that when i specify date i will get entries from that date till end of file.and there can be more than one entries for particular date. in short i want to split file in 2 parts one part will have entries till date i have mentioned ( without date i have mentioned ) and other will have all entries from date i have mentioned till end of file. i am writing code in perl/shell script. i am not getting how to do this till now..please suggest how this can be done ?? here is my file : Code:
2007-10-18 abcs.sql 1.1 2007-10-18 adah.sh 1.0 2007-10-18 hhsh.pl 1.9 2007-10-19 hhhh.pl 1.9 2007-10-20 nnnn.sql 1.0 2007-10-20 zzzz.COB 1.147 2007-10-20 rreerf.sh 1.5 2007-10-20 sdigj.sh 1.6 2007-10-21 sdhgfi.sh 1.7 2007-10-21 dghidf.sh 1.8 if i specify 2007-10-19 then i should get all entries from this date till end of file. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|