On Tue, Jun 8, 2010 at 10:49 AM, David Engster <deng_AT_randomsample.de> wrote:
> wmiir read /event | awk '/./ { print; fflush() } END { print "" }'
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:06:55 UTC
This archive was generated by hypermail 2.2.0 : Wed Jun 09 2010 - 04:12:02 UTC