smartypants

Converts plain text typography to smart punctuation and symbols

brewmacoslinux
Try with needOr install directly
Source

About

Typography prettifier

Commands

smartypants

Examples

Convert straight quotes to smart quotes in a text file$ smartypants input.txt > output.txt
Process HTML file and convert typography to smart punctuation$ smartypants --html input.html
Read from stdin and output prettified typography$ echo 'It\'s a "nice" day...' | smartypants