export_report: fix perl warnings
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 22 Feb 2010 23:17:22 +0000 (15:17 -0800)
committerMichal Marek <mmarek@suse.cz>
Sun, 7 Mar 2010 20:41:04 +0000 (21:41 +0100)
commit91416cfdf98bdbc828fd3e5ca7208beba5979d63
tree34eddaa1bb2b6dbac9be0b201d76f8b8984b5e0a
parent9c49fd307a6cb2d3255f9441bce5b7cb08dff79e
export_report: fix perl warnings

Use local file handles, use three argument open.
Don't modify arguments in perl grep (use sed instead)

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: WANG Cong <amwang@redhat.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/export_report.pl