Matan Ziv-Av <ma...@svgalib.org> writes: > On Wed, 9 Apr 2014, Erez D wrote: > >> erez@homer:~$ grep pppd * >> erez@homer:~$ >> >> however: >> >> erez@homer:~$ grep pppd ./* >> ./chat.sh:pppd connect 'chat -v -s ABORT ERROR ABORT' > > Do you have a file whose name starts with a dash (-)?
Definitely a candidate... Some less likely things to check: Verify there is no alias to grep (or script in path) with --exclude of some sort, or --null, or some other weird stuff. Check GLOBIGNORE. What does "shopt -s" say? Is there anything special, e.g., in extglob? SHELLOPTS? BASHOPTS? -- Oleg Goldshmidt | p...@goldshmidt.org _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il