On Fri, Apr 13, 2007 at 10:29:43AM +0100, Moritz Lenz wrote: > Hi, > > brian d foy wrote: > > At the moment the file test operators that I expect to return true or > > false do, but the true is the filename. > > that helps chaining of file test: > > $fn ~~ :t ~~ :x > or something. > If you want a boolean, use > ? $fn ~~ :x > or something.
It might also be useful when the test is being applied to a junction - it gives the effect of grep. --