Date: Fri, 15 Sep 2006 16:18:25 +0300 From: Volodymyr Kostyrko <arcade@synergetica.dn.ua> To: freebsd-standards@freebsd.org Subject: find regular expression question Message-ID: <450AA821.9050000@synergetica.dn.ua>
next in thread | raw e-mail | index | archive | help
Just stumbled upon some inconsistences in find(1) regular expressions parsing: [code] > :>a > find . -regex '^\./a\?$' > find . | grep '^\./a\?$' ./a [/code] It seems that find just dumps away '?' operand. The same regexp perfectly works in grep. Is this a bug or feature? Am I missing something? -- [WBR], Arcade.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?450AA821.9050000>