From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 11:43:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6452516A4CE for ; Thu, 22 Apr 2004 11:43:51 -0700 (PDT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D6F743D45 for ; Thu, 22 Apr 2004 11:43:51 -0700 (PDT) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.71]) by mta10.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040422184350.FFGR8065.mta10.adelphia.net@barbish> for ; Thu, 22 Apr 2004 14:43:50 -0400 From: "JJB" To: "freebsd-questions@FreeBSD. ORG" Date: Thu, 22 Apr 2004 14:43:49 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Specifying sort fields X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 18:43:51 -0000 How to specify the fields the sort program is to sort on? My file has blanks between the fields and I want to sort on field number 9 which is ip address. I want to sort filea and put results in fileb. A sample of the sort command to be used from the command line would go an long way to understanding how to use it. Thanks