From owner-freebsd-questions Sun Mar 4 21:53:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fbsdbox.psychosun.com (CPE-144-132-49-2.vic.bigpond.net.au [144.132.49.2]) by hub.freebsd.org (Postfix) with ESMTP id 8CB0D37B71B for ; Sun, 4 Mar 2001 21:53:15 -0800 (PST) (envelope-from michael@oztechnews.com) Received: from purple (purple.psychosun.com [192.168.1.34]) by fbsdbox.psychosun.com (8.11.2/8.11.2) with SMTP id f255rBS69594 for ; Mon, 5 Mar 2001 16:53:12 +1100 (EST) (envelope-from michael@oztechnews.com) Message-ID: <006a01c0a538$99f31450$2201a8c0@purple> From: "Michael Vince" To: Subject: Bug in AWK? Date: Mon, 5 Mar 2001 16:53:27 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I use this awk script to put a few lines on a single line for a web page. It works for Uwin for windows awk (http://www.research.att.com/sw/tools/uwin/) but core dumps in freebsd awk Really just seems the any kind of multiline regexp RS seems to make it coredump. BEGIN { RS = "
.*" ; FS="\n" } { print $1" " $2 " " $3 } Thanks for any help. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message