From owner-freebsd-newbies Tue Jan 11 0:33: 7 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from unknown-230-100.pilot.net (unknown-230-100.pilot.net [206.98.230.100]) by hub.freebsd.org (Postfix) with ESMTP id 4A3D714E52 for ; Tue, 11 Jan 2000 00:33:04 -0800 (PST) (envelope-from sivaramn@wipsys.ge.com) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-100.pilot.net with ESMTP id DAA28372 for ; Tue, 11 Jan 2000 03:33:03 -0500 (EST) Received: from gemail.wipsys.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id DAA12784 for ; Tue, 11 Jan 2000 03:32:59 -0500 (EST) Received: from Sivaram ([192.168.47.139]) by gemail.wipsys.ge.com (Netscape Messaging Server 3.6) with SMTP id AAA5381 for ; Tue, 11 Jan 2000 14:07:59 +0530 Message-ID: <006a01bf5c11$6bdb5940$8b2fa8c0@wipsys.ge.com> Reply-To: "Sivaram Neelakantan" From: "SIVARAM N" To: Subject: awk/gawk question Date: Tue, 11 Jan 2000 14:24:07 +0530 Organization: wipro MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, If I have a record(s) with the word "DESC" anywhere within it, How do i extract all chars upto the word "DESC" and all the chars after "DESC" till the end of the line/record separately. like for e.g DESC : audit file ADEIN DESC : file from ADE Any help would be appreciated. Regards, Sivaram To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message