Hi guys,
I've got the script in awk
Here's part of my script :
I want to add conditional question which in
********************************************************
END {
is this b or a ?
if its a, doing below ...
total = 6*sum
semua = total + jumlah
printf "TOTAL SGML FILES IS = %s \n SPACE FOR SGML : 6 * %s = %s \n\n", sum, sum, total
for(j=0;j<i;++j)print a[j]
printf "TOTAL GRAPHIC FILES = %s \n TOTAL SPACE REQUIRED = %s \n", jumlah, semua
if its b, doing another ...
}
********************************************************
any idea how to do this guys, I know for some of you it seems easy. But not yet for me. THX guys
I've got the script in awk
Here's part of my script :
I want to add conditional question which in
********************************************************
END {
is this b or a ?
if its a, doing below ...
total = 6*sum
semua = total + jumlah
printf "TOTAL SGML FILES IS = %s \n SPACE FOR SGML : 6 * %s = %s \n\n", sum, sum, total
for(j=0;j<i;++j)print a[j]
printf "TOTAL GRAPHIC FILES = %s \n TOTAL SPACE REQUIRED = %s \n", jumlah, semua
if its b, doing another ...
}
********************************************************
any idea how to do this guys, I know for some of you it seems easy. But not yet for me. THX guys