[HPADM] Number of lines to be removed

From: Mahendra Kumar (Mahendra.Kumar@dhl.com)
Date: Wed Dec 01 2004 - 03:33:39 EST


Hi admins,

I have a file which is having some items. Under each Item their
descriptions are given for about 2 lines, I want to keep the first line
of the item and delete the rest 2 lines from each item in the file, For
example

Item : Number 1
xxxxxxxxxxxxxx
xxxxxxxxxxxxxx
Item : Number 2
xxxxxxxxxxxxxx
xxxxxxxxxxxxxx

>From the above I have to align the lines of item number 1 and 2 and the
rest of the lines have to be deleted. can anyone help on this.

TIA
Mahendra


--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:44 EDT