Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Double-space a file

Given a file

One
Two
Three

Convert it to

One

Two

Three

perl -i.bak -n -E 'say' src/examples/lines.txt

Don’t add the last empty row

$ perl  -n -E 'print "\n" if $. > 1; print' src/examples/lines.txt
one

two

three
one
two
three