Add a blank line after every line to obtain a double spaced output.
Use the
-i(extension)
switch to make the changes in-place.
perl -pe '$_.=$/' file
[download]
Comment on
Double space a file
Download
Code
Back to
Cool Uses for Perl