Bhasker C V wrote:
Yes,
There are lots of alternatives
like :
who | grep `id -un`
who | grep bhasker
or even i tried to do this !!!
who > a
grep `logname` a
that WORKS !!!!
ONLY this command "who | grep `logname`" does not work !
WHY ?
Most likely because logname misbehaves when stdin is not a tty.
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]