Re: recursive awk

2009-12-21 Thread Manuel Collado
Mathieu escribió: I wanted to write an awk script to generate an dep list for a latex file. So I need to match \input{a} and run the same script on a.tex. The question is how to do awk recursively? Add "a.tex" to the ARGV array, if not already there: BEGIN { copy ARGV to dep } /\\input/ {

recursive awk

2009-12-21 Thread Mathieu
I wanted to write an awk script to generate an dep list for a latex file. So I need to match \input{a} and run the same script on a.tex. The question is how to do awk recursively? -- MZ