> When you expand dir/*txt, each one of the expansions is a correct
> relative path to an object.

I agree.


> The stripped basenames aren't.

They can be used for special data processing tasks.


> Whatever "my_work" is doing, if it involves accessing the files,
> you're probably making its job more difficult.

Such a view depends on the desired implementation details.

Use cases:
* The reduced names can belong to well-known directories.

* File name usage can be analysed across the directory hierarchy.


> Or "my_work" could be given a quoted pattern:
> 
>    my_work '*.txt'
> 
> then it can expand it as needed, in whatever directory it wants.

Are there other programs (besides the tool “find”) which support
such a data processing style?

Regards,
Markus

Reply via email to