Philip Prindeville writes:

> Hi,
> 
> Somewhat off-topic post but this is on a system that has Busybox installed so 
> I can't use features that other shells might provide.
> 
> I have a stream generated by "find" of pathnames, and I want to delete 
> (filter out) certain paths based on the contents of a file that holds 
> exclusions.

If you can modify the find command itself, you could add a "-not -path"
clause with a glob pattern.

For example,

find / -not -path '*e*'

finds all paths on the system that don't contain the letter e.  If there
aren't too many such lines, you could make a "-not -path" clause for each of
them.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to