# Converting HTML <font> tags to CSS styles

1. Install Tidy
2. Run it with the -clean option
tidy -clean INFILE > OUTFILE


# How to jump to the line of the last edit in Vim

Perfect for those "the file has been edited but I don’t remember intentionally changing something" moments, or just those "where was I?" moments. The line of the last edit is at the special mark dot (.), so you can get to it with backtick dot (.), or apostrophe dot ('.).

Type :help mark-motion for details.

# Find and replace in-place in files on Linux

sed -i -- 's/PATTERN/REPLACEMENT/g' *

• The -i means "in-place"
• The -- tells sed` that this is the end of the options. Otherwise, it might interpret hyphens in the script as options