Re: [dev] [sbase] Command list

From: Truls Becken <>
Date: Fri, 18 Oct 2013 20:48:46 +0200

On 2013-10-18, at 15:45, Truls Becken wrote:

> If you want to do it this way around, a command is missing for filtering a
> list of file names, as already mentioned by RaphaŽl. It could be generalised
> to a command for filtering stdin by calling a predicate command, e.g:
> du -a | cut -f2 | filter test -w

Just for kicks I wrote filter. With this, the above gives same result as:

find . -perm +222

At least after sorting both outputs, and as long as the fact that these
particular tests do not check the same thing does not bite you. Not sure if it
is useful. It is certainly not standard. As already mentioned, test does not
provide the same set of tests as find.


Received on Fri Oct 18 2013 - 20:48:46 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 18 2013 - 21:00:08 CEST