![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| counting the occurence of particular characters | Audra | UNIX for Dummies Questions & Answers | 2 | 03-28-2008 10:01 AM |
| First occurence from grep | namishtiwari | UNIX for Dummies Questions & Answers | 10 | 08-23-2007 09:44 AM |
| Extracting the last occurence | Raynon | Shell Programming and Scripting | 9 | 05-03-2007 11:47 AM |
| grep the last occurence | apalex | UNIX for Dummies Questions & Answers | 3 | 04-18-2002 07:03 PM |
| grep for certain occurence | app4dxh | UNIX for Dummies Questions & Answers | 2 | 09-14-2001 04:40 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
First Occurence
Hi,
This is the format of the file that i have StartDate:10/01/06 EndDate :10/02/06 Cno Ccode 1 10 2 11 StartDate:10/03/06 EndDate :10/04/06 Cno Ccode 2 13 4 12 StartDate:10/01/06 EndDate :10/02/06 Cno Ccode 3 10 2 15 I need the first occurence of startdate and end date in a seperate file... So the new file should have a row with values of 10/01/06,10/02/06 Can some help me writing the script Thanks Kiran |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|