From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jeff.rancier@softechnics.com (Jeffery B. Rancier) Newsgroups: gmane.emacs.help Subject: indentation in awk-mode Date: 15 Jan 2003 15:29:47 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042662810 17900 80.91.224.249 (15 Jan 2003 20:33:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2003 20:33:30 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18YuE4-0004eK-00 for ; Wed, 15 Jan 2003 21:33:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18YuEF-0001q7-01 for gnu-help-gnu-emacs@m.gmane.org; Wed, 15 Jan 2003 15:33:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18YuCn-0000MF-00 for help-gnu-emacs@gnu.org; Wed, 15 Jan 2003 15:32:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18YuCe-000061-00 for help-gnu-emacs@gnu.org; Wed, 15 Jan 2003 15:32:02 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18YuAW-0006lO-00 for help-gnu-emacs@gnu.org; Wed, 15 Jan 2003 15:29:48 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18Yu9D-0004Ep-00 for ; Wed, 15 Jan 2003 21:28:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18Yu9C-0004Ee-00 for ; Wed, 15 Jan 2003 21:28:26 +0100 Original-Path: not-for-mail Original-Lines: 48 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5519 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5519 I've searched the archives, but can't find what I'm looking for. My awk code is formatting like so: BEGIN {} { if ( /^01PRICE/ ) { print "Price Audit :" " " $0 } if ( NF == 3 ) { print "Record has " NF " fields." } } END {} I'd rather have it look like: BEGIN {} { if ( /^01PRICE/ ) { print "Price Audit :" " " $0 } if ( NF == 3 ) { print "Record has " NF " fields." } } END {} Any ideas? -- Thanks, Jeff ,---- | Jeffery B. Rancier | | Softechnics | a METTLER TOLEDO company `----