|
From: | arnold |
Subject: | Re: [bug-gawk] system() should return != 0 when the process is killed |
Date: | Sat, 05 Mar 2016 11:36:08 -0700 |
User-agent: | Heirloom mailx 12.4 7/29/08 |
Jarno Suni <address@hidden> wrote: > In my experience > > awk '{system("sleep 1")}' > > newer exits with any awk I have tried. This is because it's waiting for a line of input before executing the action. Try instead awk 'BEGIN { system("sleep 1") }' and see what happens. Arnold
[Prev in Thread] | Current Thread | [Next in Thread] |