cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joaquin Casares (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-14487) Unset GREP_OPTIONS
Date Fri, 01 Jun 2018 23:44:00 GMT

     [ 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


Mime
View raw message