# This script substitutes path to files in diff headers: # Index: a/b/c/file.x # *** file.x ..... # becomes # Index: a/b/c/file.x # *** a/b/c/file.x ..... /^Index\:/{ n = split ($2, pnf, "/"); path = ""; for (i=1;i