For Programmers: Free Programming Magazines  


Home > Archive > AWK > November 2005 > How to print value in a variable using awk









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to print value in a variable using awk
omkar3

2005-11-01, 9:15 pm

Hi AWK guru's

How can we print a value in a variable if it is like "`date`" in awk script. I want to print the exact date in it, it is like a command substitution returned from a variable within awk script

I tried different methods like eval print "`date`", expr but no use, please help me.

thanks
Omkar
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com