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. [root@ks-batman-inf 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.. [root@ks-batman-inf 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 <[email protected]> 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. >
