Hello,

In some Bash scripts,
I make a call to "find" and then want to have all the lines of the
corresponding files,
prefixed with the corresponding file.
I created a hack with an always false regexp:
find ... | xargs grep -HP -v 'a(?!a)a'
A simpler solution would be:
find ... | xargs cat -H
But maybe you have something even better to propose.

Best regards,
     Laurent Lyaudet

Reply via email to