From owner-freebsd-questions@FreeBSD.ORG Mon Mar 28 15:18:34 2005 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 A012216A4CE for ; Mon, 28 Mar 2005 15:18:34 +0000 (GMT) Received: from mail1.acecape.com (mail1.acecape.com [66.114.74.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20E1843D54 for ; Mon, 28 Mar 2005 15:18:34 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mail1.acecape.com (8.12.11/8.12.11) with ESMTP id j2SFITc0010785; Mon, 28 Mar 2005 10:18:29 -0500 Date: Mon, 28 Mar 2005 10:21:24 -0500 (EST) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Jonathan Chen In-Reply-To: <20050327223754.GA87442@osiris.chen.org.nz> Message-ID: <20050328101610.D7970@zoraida.natserv.net> References: <20050326125154.Y49808@zoraida.natserv.net> <20050327143258.GA88210@Pandora.MHoerich.de> <20050327223754.GA87442@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: AWK in 4.X different from 5.X? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 15:18:34 -0000 On Mon, 28 Mar 2005, Jonathan Chen wrote: > On Sun, Mar 27, 2005 at 12:09:03PM -0500, Francisco Reyes wrote: >> Since this was from a shell script I did >> date | awk '{print "#"$1 " " $2 "-" $3 "-" $6}' > > How about: > date +"#%a %b - %d - %Y" Where/how do I put that? I tried to put it inside the awk side, but didn't work.