- or download this
dd if=infile of=outfile 2>&1 - or download this
my @r = `dd if=infile of=outfile 2>&1`;
foreach (@r) {
chomp;
print "***$_***\n";
}
- or download this
***0+1 records in***
***0+1 records out***
- or download this
# BAD CODE
my @r = `dd if=infile >outfile 2>&1`;