[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why is grep behaving this way ?



On Fri, Mar 02, 2007 at 03:07:37PM +0530, Bhasker C V wrote:
> [bhaskerv@cvsrep01 ~]$ who | grep `logname`
> logname: no login name
> Usage: grep [OPTION]... PATTERN [FILE]...
> Try `grep --help' for more information.

Weird. Consiedering that this works:

who | grep `whoami`

Where's the catch?

-- 
Salvatore Iovene
http://www.iovene.com

Attachment: signature.asc
Description: Digital signature


Reply to: