Re: execute command inside awk
2006-11-05, 11:48(-06), Ed Morton:
[...]
>> How can I log the output and set a parameter if size > 1.5Gb, so I can
>> take further action in the script.
>
> Do you really mean "parameter" or do you mean "variable"?
A variable is a special kind of parameter in the terminology
used by most shell manuals.
$? would be a parameter but not a variable for instance.
The solution I gave sets $?, another poster suggested to use a
variable $VAR to collect awk's output.
--
Stéphane
|