Nick W wrote:
> 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 know this doesn't help with awk, but you could get the same effect by
using ps options:

kill `ps -o pid -C xmms`

or something similar to that.  see `man ps`

Dave


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

Reply via email to