|
awk supports the system() function just like in C and php.
You can create a dynamic string, then pass it to system to create output.
It's not that awk is better than script or vice-versa - it's just bad to keep using several different tools and bouncing back and forth among them. IMO.
|