[sisyphus] grep -r behavior change

Dmitry V. Levin ldv на altlinux.org
Чт Сен 13 14:13:41 MSK 2012


On Thu, Sep 13, 2012 at 11:02:14AM +0400, Michael Bykov wrote:
> 2012/9/13 Ildar Mulyukov <ildar на altlinux.ru>:
> > On 13.09.2012 01:42:06, Michael Bykov wrote:
> >>
> >> Салют,
> >>
> >> после сегодняшнего dist-upgrade grep стал вести себя необычно
> >>
> >> ~/$ ps ax | grep -e someword
> >> grep: erl_crash.dump: Отказано в доступе
> >
> > всё очень просто:
> > $ which grep
> > $ rpm -qVf `which grep`
> 
> У меня был алиас alias -g grep='grep -r --color=always'

Цитирую /usr/share/doc/grep-2.14/NEWS:

* Noteworthy changes in release 2.11 (2012-03-02) [stable]

** New features

  If no file operand is given, and a command-line -r or equivalent
  option is given, grep now searches the working directory.  Formerly
  grep ignored the -r and searched standard input nonrecursively.
  An -r found in GREP_OPTIONS does not have this new effect.

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=v2.10-37-gfaf6ea1


-- 
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 198 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20120913/7116bea6/attachment.bin>


Подробная информация о списке рассылки Sisyphus