bug-grep
[Top][All Lists]
Advanced

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

Re: BUG


From: Dara
Subject: Re: BUG
Date: Mon, 13 May 2013 12:16:43 +0530

True..I meant GREP_OPTIONS and GREP_COLOR, But wantedly I executed
GROUP_OPTIONS and GROUP_COLOR which gave no error after running that.

Where in actually we should have got message like as below on how to use
the command.

address@hidden latest]# grep -i 'example' Domain.jcml
Usage: grep [OPTION]... PATTERN [FILE] ...
Search for PATTERN in each FILE or standard input.
Example: grep -i 'hello world' menu.h main.c

But after running this(GROUP_OPTIONS and GROUP_COLOR) if I try any command
no command runs. For everything it gives below result..

address@hidden latest]# grep -i 'example' Domain.jcml
Usage: grep [OPTION]... PATTERN [FILE] ...
Search for PATTERN in each FILE or standard input.
Example: grep -i 'hello world' menu.h main.c

To make the commands work either I should exit and re-login  or run the
correct command(GREP_OPTIONS and GREP_COLOR).

Which is not expected behavior.
Your comments ..

Thanks,
Sateesh

Pandu


On Mon, May 13, 2013 at 1:57 AM, Paul Eggert <address@hidden> wrote:

> On 05/11/2013 11:21 PM, Dara wrote:
> > export GROUP_OPTIONS='--color=auto' GROUP_COLOR='100;8'
>
> Presumably you meant GREP_OPTIONS and GREP_COLOR?
>
> But anyway, if you set those environment values to
> bad values, grep will complain and exit, which is
> apparently what happened to you.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]