On Sun, Mar 27, 2005 at 12:09:03PM -0500, Francisco Reyes wrote:
> On Sun, 27 Mar 2005, Mario Hoerich wrote:
> 
> >>Now I just wonder how to get date in my output. :-(
> >
> >Well, if nothing else helps there's always system("date").
> >However, you could also install lang/gawk.
> 
> Since this was from a shell script I did
> date | awk '{print "#"$1 " " $2 "-" $3 "-" $6}'

How about:
        date +"#%a %b - %d - %Y"
-- 
Jonathan Chen <[EMAIL PROTECTED]>
----------------------------------------------------------------------
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to