5 # merges PostScript files created by pcb (version >= 1.4.2) into
6 # a single file for backward compatibility
14 echo "Usage: `basename $0` files..." >&2
18 # some system need nawk
26 BEGIN { filecount = 0; }
27 /^%!PS/ { filecount++; }
28 /^%!PS/,/^% PCBENDDATA/ {
31 if (index($0, "%%Title:") == 1)
32 sub(",.*$", ", merged layouts");
37 /^% PCBSTARTDATA/,/^% PCBENDDATA/ {