1 BEGIN { split(COMPATDIRS
, dirs
); n =
1; last_prefix =
"" }
10 prefix =
substr($
0, 1, pos
)
11 if (prefix
!= last_prefix
) {
13 for (f =
1; f
< n
; f
++) {
14 x=files
[f
]; sub(S
, S
"/" dirs
[d
], x
);
28 for (f =
1; f
< n
; f
++) {
29 x=files
[f
]; sub(S
, S
"/" dirs
[d
], x
); print x
;