On Mon, Mar 28, 2005 at 10:21:24AM -0500, Francisco Reyes wrote: > 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.
Eh? The command I was trying to replicate was: date | awk '{print "#"$1 " " $2 "-" $3 "-" $6}' which is equivalent to : date +"#%a %b - %d - %Y" Doing this within awk is another story.. Sorry. -- Jonathan Chen <[EMAIL PROTECTED]> ---------------------------------------------------------------------- Jesus saves. Allah forgives. Cthulu thinks you'd make a nice sandwich. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"