"Amir Binyamini" <[EMAIL PROTECTED]> writes:

> No.
> "pidof -x xend" returns an empty string.

Oh, that's because of env... If you had #!/usr/bin/python directly it
should have worked. One level of indirection too many...

Modify xend or try this:

pname () { /bin/ps auxww | /bin/egrep "$@" | /bin/grep -v egrep; }
pnum () { pname $@ | /bin/awk '{print $2}'; }

$ pnum xend 

is likely to work.


-- 
Oleg Goldshmidt | [EMAIL PROTECTED] | http://www.goldshmidt.org

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to