[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doubts on awk possibilities
From: |
Juergen Kahrs |
Subject: |
Re: doubts on awk possibilities |
Date: |
Wed, 16 May 2007 08:21:18 +0200 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070308) |
Mauricio de Andrade Ramos wrote:
Hi, is it possible to call another awk program from one?
Use the system() function of AWK.
It invokes a standard Bourne shell (sh).
You can invoke AWK from the shell with this method.
Is it possible
to pass, as a parameter, a vector of one program to another or share
this vector and make it accessible by a shell script? Thank you in
advance. Mauricio.
BEGIN {
a=3
system("name_of_script.sh 1 2 " a)
}