/hr

Command line utility to output a horizontal rule.

Primary LanguageCMIT LicenseMIT

hr

A command line utility to print a horizontal rule.

Usage

$ hr
------------------------------------------------------------------------------

$ hr -r '*' -w 20 
********************

$ hr -o '/** ' -c ' */' -r '*' -w 20
/** ************* */

Credits

Inspired by an answer on SO for repeating a character and appending a new line at the end.