Peter Mogensen wrote:
find lib/perl -name '*.pm' -p2 -exec echo {} \;
# where -p strips prefix for -exec {}

Which of course has the problem of associating -p to -exec in case of more -exec's

However.... I found out that find actually supports this via -printf, so please close the feature request.


find lib/perl/ -name '*.pm' -printf "%P\n" | xargs -l1

Does what I want. Sorry for the inconvenience.

regards,
Peter


Reply via email to