AWK in 4.X different from 5.X?

Francisco Reyes lists at natserv.com
Mon Mar 28 07:18:34 PST 2005


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.


More information about the freebsd-questions mailing list