From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <201107050956.18175.dexen.devries@gmail.com> References: <201107050956.18175.dexen.devries@gmail.com> Date: Tue, 5 Jul 2011 13:56:39 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] grep (or perhaps regex(6)) question Topicbox-Message-UUID: faaf7c36-ead6-11e9-9d60-3106f5b1d025 > that is, p9p grep matches any line with regular expression in form of > $ANY_REGEX > > why is it so? Why (the very mechanism) is one question. Whether it should or should not be so is another. Is this subtlety important? (I.e. can't it be implementation dependent as the correct behaviour seems undefined [to me]?) Thanks Ruda