On 2007-11-22 10:10, ann kok <[EMAIL PROTECTED]> wrote:
> Hi Giorgos
>
> Thank you
>
> But my output is from your suggstion
> printf "Created: %s\n", system("date +%Y%m%d");
>
> 20071122
> Created: 0
> 20071122
> Updated: 0
>
> how can I have output as
>
> Created: 20071122
> Updated: 20071122
You
Hi Giorgos
Thank you
But my output is from your suggstion
printf "Created: %s\n", system("date +%Y%m%d");
20071122
Created: 0
20071122
Updated: 0
how can I have output as
Created: 20071122
Updated: 20071122
In additon,
ls it possible to have loop output also?
I need to have
print "File No
On 2007-11-21 12:26, ann kok <[EMAIL PROTECTED]> wrote:
> Hi all
> how command "date, hostname" run in awk program?
>
> awk -F program.awk file.txt
You don't use backticks... These are a feature of the shell, and
running a script through progname.awk is no longer a shell session.
Try system("dat