[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gawk exit doesn't exit promptly
From: |
Boemker, Tim |
Subject: |
gawk exit doesn't exit promptly |
Date: |
Fri, 2 Jan 2009 12:59:23 -0500 |
gawk's exit statement appears not to terminate gawk until all of the
input records have been read.
In the following example, gawk never exits, even though the exit
statement has been executed:
$ cat a
a
$ tail -f a | gawk '{ print "exiting"; exit }'
exiting
- gawk exit doesn't exit promptly,
Boemker, Tim <=