grep is always recursive

Paul Sladen ubuntu at
Sat Jan 24 21:38:28 UTC 2009

On Sat, 24 Jan 2009, Hal Burgiss wrote:
> Does anyone know of a setting anywhere in Ubuntu (8.04),

Could you try the following little test:

  mkdir -p ~/tmp/empty/test/
  echo hello > ~/tmp/empty/test/a
  grep [l][l] -r ~/tmp/empty/ || echo byebye


  grep -a . /proc/self/cmdline

Why do one side of a triangle when you can do all three.  Somewhere, GB.

More information about the ubuntu-users mailing list