Date: Mon, 28 Mar 2005 10:21:24 -0500 (EST) From: Francisco Reyes <lists@natserv.com> To: Jonathan Chen <jonc@chen.org.nz> Cc: freebsd-questions@freebsd.org Subject: Re: AWK in 4.X different from 5.X? Message-ID: <20050328101610.D7970@zoraida.natserv.net> In-Reply-To: <20050327223754.GA87442@osiris.chen.org.nz> References: <20050326125154.Y49808@zoraida.natserv.net> <20050327143258.GA88210@Pandora.MHoerich.de> <20050327223754.GA87442@osiris.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050328101610.D7970>