On Jun 9, 2010 12:07 AM, "Suraj Kurapati" <sunaku_AT_gmail.com> wrote:
On Tue, Jun 8, 2010 at 10:49 AM, David Engster <deng_AT_randomsample.de> wrote:
> wmiir read /event | a...
What's the purpose of awk here? I see the same result both with and
without awk in Arch Linux with awk = GNU Awk 3.1.8.
# i=0; wmiir read /event | while read; do i=`expr $i + 1`; echo $i-$REPLY;
done
# i=0; wmiir read /event | awk '/./ { print; fflush() } END { print ""
}' | while read; do i=`expr $i + 1`; echo $i-$REPLY; done
Received on Wed Jun 09 2010 - 04:43:46 UTC
This archive was generated by hypermail 2.2.0 : Wed Jun 09 2010 - 04:48:02 UTC