
running contents of array
Quote:
>All,
>How do I run the contents of an array eg ...
>BEGIN {
> print begin
print "begin"
Quote:
> a[1]="print success"
>}
>{
> a[1]
>}
>END{
> print end
print "end"
Quote:
>}
>I want the functionality of the back quote as found in the Bourne shell.
use the system function to run external unix (or your OS) commands.
define your own functions to run awk commands.
man awk
Chuck Demas
--
Eat Healthy | _ _ | Nothing would be done at all,
Die Anyway | v | That no one could find fault with it.