Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 436 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 436 Bytes

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.