Incoming from Nick W:
> 
> ps -e | awk '$4 ~ /xmms/ {print $1 | "echo"}'
> 
> echos a blank line, but no error.

Compare this:

   ps -e | awk 'BEGIN {ORS=" "} $4 ~ /xmms/ {print $1"\n" ; echo "$1\n"}'

>From that I get the process number on a line by itself.  Where is the
"print $1" going?  Standard output?  Where's echo's $1 coming from;
print or awk?


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -

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

Reply via email to