Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 325 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 325 Bytes

format.sh: ANSI formatting made simple

A simple helper function that can be used to output formatted text with ANSI escape sequences.

Examples:

  • fmt red 'this text is red'
  • fmt red,underline 'this text is red and underlined'
  • fmt red,bg-white 'red text on white background'