can you help about this script

ann kok annkok2001 at yahoo.com
Wed Nov 21 23:34:18 PST 2007


Hi all

how command "date, hostname" run in awk program?

awk -F program.awk file.txt

program.awk

     BEGIN { RS = "\n" ; FS = "|" }

     {
           print "Name:", $9
           print "Created: `date`"   
           print "from: `hostname`"
           print ""
     }

Thank you


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the freebsd-questions mailing list