Trying to learn AWK for no particular reason, but why does this not work?

ps -e | awk 'BEGIN {ORS=" "} $4 ~ /xmms/ {print $1 | "kill"}'

I get a broken pipe error:

kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill 
-l [sigspec]
Broken pipe

*confused*
-- 
Nick W ([EMAIL PROTECTED])
Registered Linux User #324288 (http://counter.li.org)
MSN Messenger: [EMAIL PROTECTED]
Yahoo: foolish_gambit
ICQ: 303276221

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to