Afficher un message
Vieux 05/11/2006, 19h11   #5
Stephane CHAZELAS
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
 
Page generated in 0,06013 seconds with 9 queries