Dear group,

I am trying to extract 10th line from group of files.
I am able to do it with

find . -name "*.final.out" | parallel "awk 'NR ==10' {} >> result.txt"

However, I need to add a filename in the output file for every line so that
I can identify from which file the line came from.

Any help is appreciated.


warm regards,
Kishore R. Anekalla

Reply via email to