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}' It works for my needs.