perl -pe 's/name=".*"/name="fn.pdf"/g' g >g2 ./chfn.pl g2