grep_options is deprecatedgrep_options is deprecated 在Unix和类Unix系统中,grep是一个非常常用的命令行工具,用于在文本文件中搜索匹配某个模式的行。grep命令有许多选项,用于控制搜索的行为。然而,有时候一些选项可能会被标记为“已弃用”(deprecated),这意味着它们已经不再推荐使用,可能会在将来的版本中被移除或...
# Move export GREP_OPTIONS="--color=auto" (which is deprecated) from .exports to .alias # Always enable colored `grep` output` alias grep="grep --color=auto" alias fgrep="fgrep --color=auto" alias egrep="egrep --color=auto" Thanks for all your great work, Mathias! 👍 7 Owner...
使用 构建的 docker 环境, terminal 会出现 grep: warning: GREP_OPTIONS is deprecated; please use an alias or script 来自于 Paddle/paddle/scripts/docker/root/.bashrc Line 28 in cf0d602 export GREP_OPTIONS="--color=auto" GREP_COLOR="1;31" 请问可以fix一下吗? ref https://stackoverflow...
edited OwnerAuthor Yes I am aware of the fact, that GREP_OPTIONS is not supported anymore in recent distros and on Ubuntu 16 the trick above does not work. To make the alias you suggest will work on the command line, but not from within scripts;) ...
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script This occurs whenever grep us run, and when the shell first starts.
@mathiasbynens Mathias, at your call I've created this pull request. (See discussion in issue GREP_OPTIONS is deprecated #467 ) Change GREP_OPTIONS=--color=auto in .exports to aliases to avoid errors. File: .exports, .aliases The GREP_OPTIONS envir