You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joaquin Casares (JIRA)" <ji...@apache.org> on 2018/06/01 23:44:00 UTC

[jira] [Updated] (CASSANDRA-14487) Unset GREP_OPTIONS

     [ https://issues.apache.org/jira/browse/CASSANDRA-14487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joaquin Casares updated CASSANDRA-14487:
----------------------------------------
    Description: 
I have always had GREP_OPTIONS set to \{{–color=always}}.

Recently, on OS X, this bit me here:

* [https://github.com/apache/cassandra/blob/069e383f57e3106bbe2e6ddcebeae77da1ea53e1/conf/cassandra-env.sh#L132]

Because GREP_OPTIONS is also deprecated, it's suggested you use the following format instead:

{NOFORMAT}

alias grep="grep --color=always"

{NOFORMAT}

We have two paths forward:

* {{unset GREP_OPTIONS}}
* Force the affected line to be {{grep --color=never}}

  was:
I have always had GREP_OPTIONS set to \{{–color=always}}.

Recently, on OS X, this bit me here:

* [https://github.com/apache/cassandra/blob/069e383f57e3106bbe2e6ddcebeae77da1ea53e1/conf/cassandra-env.sh#L132]

Because GREP_OPTIONS is also deprecated, it's suggested you use the following format instead:

{NOFORMAT}

alias grep="grep --color=always"

{NOFORMAT}

We have two paths forward:

* \{{unset GREP_OPTIONS}}
* Force the affected line to be \{{grep --color=never}}


> Unset GREP_OPTIONS
> ------------------
>
>                 Key: CASSANDRA-14487
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14487
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Joaquin Casares
>            Assignee: Joaquin Casares
>            Priority: Major
>
> I have always had GREP_OPTIONS set to \{{–color=always}}.
> Recently, on OS X, this bit me here:
> * [https://github.com/apache/cassandra/blob/069e383f57e3106bbe2e6ddcebeae77da1ea53e1/conf/cassandra-env.sh#L132]
> Because GREP_OPTIONS is also deprecated, it's suggested you use the following format instead:
> {NOFORMAT}
> alias grep="grep --color=always"
> {NOFORMAT}
> We have two paths forward:
> * {{unset GREP_OPTIONS}}
> * Force the affected line to be {{grep --color=never}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org